2023-11-03 22:58:33 -04:00
|
|
|
{
|
|
|
|
"env": {
|
|
|
|
"es2021": true
|
|
|
|
},
|
|
|
|
"extends": "eslint:recommended",
|
|
|
|
"overrides": [],
|
|
|
|
"parserOptions": {
|
|
|
|
"ecmaVersion": "latest",
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"rules": {
|
|
|
|
"arrow-parens": ["error", "as-needed"],
|
|
|
|
"comma-dangle": ["error", "always-multiline"],
|
|
|
|
"comma-spacing": ["error", { "before": false, "after": true }],
|
|
|
|
"comma-style": ["error", "last"],
|
|
|
|
"curly": ["error", "multi-or-nest", "consistent"],
|
|
|
|
"dot-location": ["error", "property"],
|
|
|
|
"eol-last": 0,
|
|
|
|
"indent": ["error", 4, { "SwitchCase": 1 }],
|
|
|
|
"keyword-spacing": ["error", { "before": true }],
|
|
|
|
"lines-between-class-members": ["error", "always", { "exceptAfterSingleLine": true }],
|
|
|
|
"padded-blocks": ["error", "never", { "allowSingleLineBlocks": false }],
|
|
|
|
"prefer-const": "error",
|
|
|
|
"quotes": ["error", "single", { "avoidEscape": true }],
|
|
|
|
"semi": ["error", "always"],
|
|
|
|
"nonblock-statement-body-position": ["error", "below"],
|
|
|
|
"no-trailing-spaces": ["error"],
|
|
|
|
"no-dupe-class-members": 0,
|
|
|
|
"array-bracket-spacing": ["error", "never"],
|
|
|
|
"key-spacing": ["error", { "beforeColon": false, "afterColon": true }],
|
|
|
|
"object-curly-spacing": ["error", "always"],
|
|
|
|
"no-useless-escape": ["off"]
|
|
|
|
},
|
|
|
|
"globals": {
|
2023-11-04 13:38:02 -04:00
|
|
|
"Tablet": "readonly",
|
|
|
|
"Pointers": "readonly",
|
2023-11-03 22:58:33 -04:00
|
|
|
"ARGV": "readonly",
|
|
|
|
"imports": "readonly",
|
|
|
|
"print": "readonly",
|
|
|
|
"console": "readonly",
|
|
|
|
"logError": "readonly"
|
|
|
|
}
|
|
|
|
}
|