@fusionworks/eslint-config
v0.0.4
Published
All eslint configuraitons for fusionworks bundled in here.
Downloads
27
Readme
@FusionWorks/es-lint
All tslint configurations for fusionworks company bundled in here.
Installation
npm install @fusionworks/eslint-config --save-dev
Then you should install airbnb rules ( those are by each config ):
JavaScript:
npx install-peerdeps --dev eslint-config-airbnb-base
React:
npx install-peerdeps --dev eslint-config-airbnb-base
Usage
Vue
Run
npm install eslint-plugin-vue --save-dev
Then In .eslintrc
:
{
"extends": [
"@fusionworks/eslint-config/vue"
]
}
React
Run
npm install eslint-plugin-react --save-dev
Then In .eslintrc
:
{
"extends": [
"@fusionworks/eslint-config/react"
]
}
Just Javascript
In .eslintrc
:
{
"extends": [
"@fusionworks/eslint-config"
]
}
Example of use
{
"extends": [
"@fusionworks/eslint-config/react"
],
"linterOptions": {
"exclude": [
"e2e"
]
},
"rules": {}
}