mirror of
https://github.com/gabehf/Tdarr_Plugins.git
synced 2026-03-14 17:55:55 -07:00
lint init
This commit is contained in:
parent
a71f5e28ae
commit
7904647075
107 changed files with 1772 additions and 154624 deletions
30
.eslintrc.json
Normal file
30
.eslintrc.json
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
{
|
||||
"env": {
|
||||
"commonjs": true,
|
||||
"es6": true,
|
||||
"node": true
|
||||
},
|
||||
"extends": [
|
||||
"airbnb-base"
|
||||
],
|
||||
"globals": {
|
||||
"Atomics": "readonly",
|
||||
"SharedArrayBuffer": "readonly"
|
||||
},
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018
|
||||
},
|
||||
"rules": {
|
||||
"class-methods-use-this": 0,
|
||||
"no-case-declarations": 0,
|
||||
"camelcase": 0,
|
||||
"jsx-a11y/click-events-have-key-events": 0,
|
||||
"no-underscore-dangle": ["error", { "allow": ["_id"] }],
|
||||
"max-len": [
|
||||
"error",
|
||||
{
|
||||
"code": 120
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue