traxxx/.eslintrc

37 lines
909 B
Plaintext
Executable File

{
"root": true,
"extends": ["airbnb-base"],
"env": {
"node": true
},
"parserOptions": {
"parser": "@babel/eslint-parser",
"ecmaVersion": 2024,
"sourceType": "script"
},
"rules": {
"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"]
}]
},
"globals": {
"CONFIG": true
}
}