yarn add @cto.ai/eslint-config-base
Your .eslintrc.js can extend this, ie.
{
extends: '@cto.ai/base'
}
You can override settings on a per-project basis. If you find a setting you think should be changed for all projects please make a pull request to https://github.com/hackcapital/eslint
Example .eslintrc.js
with overridden settings:
module.exports = {
extends: "@cto.ai/base",
rules: {
'linebreak-style': 'off', // disabled for docker on windows
},
}