Files
FunnyFinger-Dynamic_Sliders…/.eslintrc.json
T
FunnyFinger a92aaa7159 updated to v2.0.0
added new features such as dynamic sum adjustment and sum-lock dynamics
2025-04-19 20:22:11 +03:00

121 lines
2.5 KiB
JSON

{
"env": {
"browser": true,
"es2022": true
},
"extends": [
"eslint:recommended"
],
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"globals": {
"app": "readonly",
"LiteGraph": "readonly",
"LGraphCanvas": "readonly",
"LGraphNode": "readonly",
"LiteGraph": "readonly",
"globalThis": "readonly"
},
"rules": {
"no-unused-vars": [
"warn",
{
"argsIgnorePattern": "^_"
}
],
"no-console": [
"warn",
{
"allow": [
"warn",
"error",
"info"
]
}
],
"prefer-const": "warn",
"no-var": "warn",
"semi": [
"warn",
"always"
],
"quotes": [
"warn",
"double"
],
"indent": [
"warn",
2,
{
"SwitchCase": 1
}
],
"max-len": [
"warn",
{
"code": 120,
"ignoreComments": true,
"ignoreStrings": true
}
],
"camelcase": [
"warn",
{
"properties": "never"
}
],
"no-undef": "error",
"eqeqeq": [
"warn",
"always"
],
"curly": [
"warn",
"all"
],
"brace-style": [
"warn",
"1tbs"
],
"comma-dangle": [
"warn",
"never"
],
"comma-spacing": [
"warn",
{
"before": false,
"after": true
}
],
"no-trailing-spaces": "warn",
"no-duplicate-imports": "error",
"no-multiple-empty-lines": [
"warn",
{
"max": 2,
"maxEOF": 1
}
],
"object-curly-spacing": [
"warn",
"always"
],
"space-before-function-paren": [
"warn",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"space-before-blocks": [
"warn",
"always"
],
"space-infix-ops": "warn"
}
}