@stack-fintech/eslint-config
ESLint rules for apps in the STACK org
Usage
- Install ESLint and these rules:
npm install --save-dev @stack-fintech/eslint-config eslint
Note: It's important that you install eslint, as it won't correctly resolve the configuration without it! See this GitHub issue for more info.
{
"extends": "@stack-fintech"
}
Extend and Override
If you want to alter the inherited rules for the target repository, you can do this by adding
ESLint rule changes and configuration to your new .eslintrc
:
{
"extends": "@stack-fintech",
"rules": [("no-eval": ["error", { "allowIndirect": true }])] // You monster...
}