eslint-config-fagougou
v2.0.0
Published
Shared ESLint configs (with Vue plugins) by Fagougou.
Downloads
32
Readme
eslint-config-fagougou
Shared ESLint configs by Fagougou.
Usage
Built-in
This config is base on JavaScript Standard Style.
$ npm install -D eslint babel-eslint eslint-config-fagougou
.eslintrc (Example)
{
"extends": ["fagougou"],
"rules": {
// your own rules
}
}
React
This config is base on eslint-config-react-app.
Usage in Create React App Projects
$ npm install -D eslint-config-fagougou
or
$ yarn install --dev eslint-config-fagougou
Usage Outside of Create React App
npm install -D eslint-config-react-app @typescript-eslint/[email protected] @typescript-eslint/[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected]
.eslintrc
{
"extends": [
"react-app",
"fagougou",
"fagougou/react"
],
"rules": {
// your own rules
}
}
Vue
This config is base on eslint-plugin-vue.
$ npm install -D eslint babel-eslint eslint-config-fagougou eslint-plugin-vue
.eslintrc
{
"extends": [
"fagougou",
"fagougou/vue"
],
"rule": {
// your own rules
}
}