ESLint configurations used by Springworks.
$ npm i -D eslint eslint-plugin-mocha eslint-config-springworksWhen extending springworks/babel, also install babel-eslint and eslint-plugin-import
$ npm i -D babel-eslint eslint-plugin-importThis package includes the configurations:
springworks- default configurationspringworks/mocha- mocha test configurationspringworks/babel- extends the default configuration for use with babel and ES6 features
Place an .eslintrc file in the project root that extends either springworks or springworks/babel:
{
"extends": "springworks"
}Place a second .eslintrc file in the test folder that extends springworks/mocha:
{
"extends": "springworks/mocha"
}