mirror of https://github.com/JoeBiellik/paste
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
801 B
JSON
27 lines
801 B
JSON
{
|
|
"env": {
|
|
"node": true,
|
|
"es6": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaVersion": 11
|
|
},
|
|
"extends": ["eslint:recommended"],
|
|
"rules": {
|
|
"comma-dangle": ["error"],
|
|
"indent": ["error", "tab"],
|
|
"linebreak-style": ["error", "unix"],
|
|
"no-console": ["warn", { "allow": ["warn", "error"] }],
|
|
"no-extra-parens": ["error"],
|
|
"no-loss-of-precision": ["error"],
|
|
"no-promise-executor-return": ["error"],
|
|
"no-template-curly-in-string": ["error"],
|
|
"no-trailing-spaces": ["warn"],
|
|
"no-unreachable-loop": ["error"],
|
|
"no-useless-backreference": ["error"],
|
|
"quotes": ["error", "single", "avoid-escape"],
|
|
"semi": ["error", "always"],
|
|
"space-before-function-paren": ["error", { "anonymous": "never", "named": "never", "asyncArrow": "always" }]
|
|
}
|
|
}
|