3.0.0 • Published 7 years ago
eslint-config-spt v3.0.0
eslint-config-spt
A module to contain the SPT JavaScript linting rules for ESLint.
How to use
npm install --save-dev eslint-config-spt
Then add the extends
option to your .eslintrc
:
{
"extends": "spt"
}
If it's a React project, install eslint-config-spt
, eslint-config-spt-react
and eslint-plugin-react
.
npm install --save-dev eslint-config-spt eslint-config-spt-react eslint-plugin-react@4
Then add the extends
option to your .eslintrc
:
{
"extends": [
"spt",
"spt-react"
]
}
You can override specific settings by specifying them as normal. See http://eslint.org/docs/developer-guide/shareable-configs for more details.
3.0.0
7 years ago
3.0.0-beta-2
8 years ago
3.0.0-beta-1
8 years ago
2.0.0
8 years ago
1.0.7
9 years ago
1.0.6
9 years ago
0.0.1
9 years ago