eslint-config-goe-common-lint
Common ESLint config for go-e front-end projects
Usage
Add the shared config as well as the peer dependencies to devDependencies
:
npm install --save-dev eslint-config-goe-common-lint eslint-config-prettier eslint-plugin-eslint-comments eslint-plugin-jest eslint-plugin-prettier
or
yarn add eslint-config-goe-common-lint eslint-config-prettier eslint-plugin-eslint-comments eslint-plugin-jest eslint-plugin-prettier -D
Add the package to extends
section of your .eslintrc.js
:
module.exports = {
extends: ["goe-common-lint"],
// ...
};
After that you can add to .eslintrc.js
all the config specific to your project.