Files
traxxx/.eslintrc
T

38 lines
1.1 KiB
Plaintext
Executable File

{
"root": true,
"extends": ["airbnb-base"],
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 2024,
"sourceType": "script"
},
"rules": {
"import/no-unresolved": ["error", {"ignore": ["^yargs/helpers$", "^object-merge-advanced$"]}],
"import/extensions": ["error", "ignorePackages", {"pattern": {"js": "never", "mjs": "never", "jsx": "never"}, "pathGroupOverrides": [{"pattern": "@noble/hashes/**", "action": "ignore"}]}],
"indent": ["error", "tab"],
"no-tabs": "off",
"no-unused-vars": ["error", {"argsIgnorePattern": "^_"}],
"no-console": 0,
"arrow-body-style": 0,
"default-param-last": 0,
"template-curly-spacing": "off",
"max-len": 0,
"func-names": 0,
"space-before-function-paren": 0,
"strict": 0,
"no-underscore-dangle": 0,
"prefer-destructuring": "off",
"object-curly-newline": "off",
"require-await": "off",
"no-param-reassign": ["error", {
"props": true,
"ignorePropertyModificationsFor": ["state", "acc", "req", "error"]
}]
},
"globals": {
"CONFIG": true
}
}