README
This holds the base Roadmunk shop standard ESLint configuration file.
Use this into all NodeJS projects as follows:
Add a dependency for this package to your
package.json
file:{ "devDependencies" : { "@roadmunk/eslint-config-roadmunk": "^3.3.0", } }
Add one of the following to your project's
.eslintrc
file:- For just the base configuration:
{ "extends" : "./node_modules/eslint-config-roadmunk/index.js", }
- For the base configuration with extra Vue rules
{ "extends" : "./node_modules/eslint-config-roadmunk/vue-config.js", }
- For the base configuration with extra Typescript and React rules
{ "extends" : "./node_modules/eslint-config-roadmunk/react-ts-config.js", }