@gofeels/eslint-config
v3.0.0
Published
Configuración de ESLint para proyectos de GoFeels
Downloads
122
Readme
Se deben instalar las otras dependencias requeridas por las reglas de ESLint. Para ello, se debe ejecutar el siguiente comando en la terminal:
npm install -D @gofeels/eslint-config eslint-config-airbnb-base eslint eslint-plugin-import eslint-config-prettier
Para usarlo:
Se crea el archivo
.eslintrc.cjs
en caso de tener"type": "module"
en elpackage.json
o se crea el archivo.eslintrc.js
en caso de tener"type": "commonjs"
en elpackage.json
en la raíz del proyecto con el siguiente contenido:module.exports = { extends: ['@gofeels'], };
Configurar el IDE para que use ESLint.