Files
JS-VMAF/.eslintrc.json
T

95 lines
1.5 KiB
JSON
Raw Permalink Normal View History

2022-12-25 23:41:29 +01:00
{
"root": true,
"env": {
"browser": true,
"worker": true,
"es2020": true
},
"globals": {
"config": "readonly"
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"impliedStrict": true
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": "off",
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"semi-spacing": [
"warn",
{
"before": false,
"after": true
}
],
"semi-style": [
"warn",
"last"
],
"no-cond-assign": [
"error",
"except-parens"
],
"no-dupe-else-if": [
"error"
],
"no-multiple-empty-lines": [
"warn",
{
"max": 1,
"maxEOF": 1,
"maxBOF": 0
}
],
"new-parens": [
"error",
"always"
],
"max-len": "off",
"eol-last": [
"warn",
"always"
],
"brace-style": [
"warn",
"1tbs"
],
"dot-location": [
"warn",
"property"
],
"no-undef": "warn",
2022-12-26 20:26:54 +01:00
"no-empty": "off",
2022-12-25 23:41:29 +01:00
"no-prototype-builtins": "warn",
"no-unreachable": "warn",
"valid-typeof": "warn",
"vars-on-top": "warn",
2022-12-26 20:26:54 +01:00
"@typescript-eslint/ban-ts-comment": "off",
2022-12-25 23:41:29 +01:00
"@typescript-eslint/no-inferrable-types": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-explicit-any": "off",
2022-12-26 20:26:54 +01:00
"@typescript-eslint/no-empty-function": "off",
2022-12-25 23:41:29 +01:00
"no-debugger": "warn"
}
}