ESLint Configuration
This repository hosts Zattoo's shared ESLint configuration distributed as @zattoo/eslint-config npm package.
It aggregates various rules from ESLint and its plugins ecosystem and seals agreements from web team.
So far we support:
Install
npm i --save-dev --save-exact @zattoo/eslint-config
Configuration
Refer @zattoo/eslint plugin in project ESLint configuration file.
Base
{
"extends": ["@zattoo"]
}
Extended with plugins
{
"extends": [
"@zattoo",
"@zattoo/eslint-config/rules/react",
"@zattoo/eslint-config/rules/jest",
"@zattoo/eslint-config/rules/typescript",
"@zattoo/eslint-config/rules/jsdoc"
]
}
Contribution
Please see Contribution Guide