eslint-config-jupl
v0.6.5
Published
Personal ESLint config
Downloads
50
Maintainers
Readme
eslint-config
Personal ESLint and tslint configuration.
Usage
ESLint
Add to package.json
:
{
"eslintConfig": {
"extends": ["jupl", "jupl/esnext"]
}
}
Or to .eslintrc
:
{
"extends": ["jupl", "jupl/esnext"]
}
If targeting older node.js (< 1.0):
{
"extends": "jupl"
}
If targeting the browser:
{
"extends": ["jupl", "jupl/browser"]
}
If using Babel (requires eslint-plugin-babel and babel-eslint):
{
"extends": ["jupl", "jupl/esnext", "jupl/babel"]
}
If using React (requires eslint-plugin-react):
{
"extends": ["jupl", "jupl/react"]
}
TSLint
Add to tslint.json
:
{
"extends": "eslint-config-jupl/ts"
}
If using React (requires tslint-react):
{
"extends": [
"eslint-config-jupl/ts",
"eslint-config-jupl/ts/react"
]
}