eslint-config-custrino
v2.2.5
Published
ESLint shareable settings
Downloads
70
Maintainers
Readme
ESLint Config Custrino
A personally created ESLint shareable configuration set.
Installation
$ npm install --save-dev eslint-config-custrino
Usage
Used by specifying in the extends
section of the ESLint configuration.
{
"extends": ["custrino", "custrino/xxxxxx"]
}
Additional configurations
Additional configurations can be used depending on the project.
You need to add a corresponding plugin.
custrino/typescript
This configuration enables the rules for TypeScript and any additional rules supported by the TypeScript ESLint plugin.
Add required plugins:
$ npm install --save-dev @typescript-eslint/parser @typescript-eslint/eslint-plugin
custrino/react
This configuration enables the rules for React.
Add required plugins:
$ npm install --save-dev eslint-plugin-react-hooks eslint-plugin-react