-
Notifications
You must be signed in to change notification settings - Fork 54
/
.eslintrc
23 lines (23 loc) · 1.46 KB
/
.eslintrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
{
"extends": "airbnb-base/legacy",
"rules": {
"indent": ["error", 4], // Use 4 spaces for indentation
"func-names": ["error", "never"], // Allow anonymous functions
"no-param-reassign": ["error", { "props": false }], // Allow parameter reassignment for object properties
"quotes": "off", // Disable quotes enforcement
"object-curly-spacing": ["off"], // Disable spacing inside curly braces
"block-spacing": ["off"], // Disable spacing enforcement inside blocks
"semi": ["off"], // Allow missing semicolons
"no-plusplus": ["off"], // Allow ++ and -- operators
"prefer-arrow-callback": ["off"], // Allow traditional function expressions
"vars-on-top": ["off"], // Allow variable declarations anywhere
"consistent-return": ["off"], // Allow inconsistent returns in functions
"no-loop-func": ["off"], // Allow functions inside loops
"object-shorthand": ["off"], // Allow verbose object property declarations
"no-prototype-builtins": ["off"], // Allow direct use of Object.prototype methods
"prefer-template": ["off"] // Allow string concatenation with `+`
},
"parserOptions": {
"ecmaVersion": 6
}
}