eslint-config-fe
v2.1.2
Published
ESLint config for Front End.
Downloads
19
Maintainers
Readme
eslint-config-fe
Note: ESLint config for Front End.
Installation
npm install --save-dev eslint eslint-config-fe
Usage
Basic JS eslint config
All rules .eslintrc
{
"extends": ["fe"]
}
React eslint config
npm install --save-dev @babel/preset-react eslint-plugin-react eslint-plugin-react-hooks
.eslintrc
{
"extends": [
"fe",
"fe/react"
]
}
TS eslint config
.eslintrc
{
"extends": [
"fe",
"fe/ts"
]
}