eslint-config-sxt-engine
v1.1.1
Published
Collection of ESLint rules, following our styleguide
Downloads
7
Maintainers
Readme
eslint-config-sxt-engine v1.1.1
Collection of ESLint rules to use for all the development environments (ex: nodejs, react, webpack, etc..,)
Installation
You'll install eslint-config-sxt-engine
:
$ npm install eslint-config-sxt-engine --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-config-sxt-engine
globally.
Usage
Add sxt-engine
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-config-
prefix:
For Nodejs
{
"extends": [
"sxt-engine"
]
}
For Reactjs
{
"extends": [
"sxt-engine/react"
]
}
For Jasmine
{
"extends": [
"sxt-engine/jasmine"
]
}
For Lodash
{
"extends": [
"sxt-engine/lodash"
]
}
For Jest
{
"extends": [
"sxt-engine/jest"
]
}
For Webpack
{
"extends": [
"sxt-engine/webpack"
]
}
For Flowjs
{
"extends": [
"sxt-engine/flow"
]
}
For smells
{
"extends": [
"sxt-engine/smells"
]
}
For Prettier
{
"extends": [
"sxt-engine/prettier"
]
}
For ReduxSaga
{
"extends": [
"sxt-engine/reduxSaga"
]
}
For Security
{
"extends": [
"sxt-engine/security"
]
}