0.0.9 • Published 5 years ago
eslint-config-abstra v0.0.9
eslint-config-abstra
ESLint shareable config for Abstra
Install
yarn
$ yarn add eslint-config-abstra --devnpm
$ npm install eslint-config-abstra --save-devUsage
Add ESLint config to your package.json:
{
"name": "abstra-project",
"eslintConfig": {
"extends": ["abstra"]
}
}Or to .esintrc.json / .eslintrc
{
"extends": ["abstra"]
}Configurations
This package also exposes 'abstra/react' and 'abstra/typescript'
For a full-linted React Typescript project, you can use the following:
{
...
"extends": ["abstra", "abstra/react", "abstra/typescript"]
...
}