2021-07-30 04:11:27 +03:00
|
|
|
{
|
|
|
|
"parser": "babel-eslint",
|
|
|
|
"rules": {
|
2022-05-04 17:25:28 +03:00
|
|
|
"indent": ["error", 4],
|
|
|
|
"semi": ["error", "always"],
|
2021-07-30 04:11:27 +03:00
|
|
|
"space-unary-ops": 2,
|
|
|
|
"no-undef": "off",
|
|
|
|
"consistent-return": "off",
|
|
|
|
"no-prototype-builtins": "off",
|
|
|
|
"no-cond-assign": "off",
|
2022-05-04 17:25:28 +03:00
|
|
|
"multiline-ternary": ["error", "always-multiline"],
|
2021-07-30 04:11:27 +03:00
|
|
|
"object-property-newline": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"allowAllPropertiesOnSameLine": false
|
|
|
|
}
|
|
|
|
],
|
2022-05-04 17:25:28 +03:00
|
|
|
"function-call-argument-newline": ["error", "always"],
|
|
|
|
"object-curly-newline": ["error", "always"],
|
|
|
|
"comma-dangle": ["error", "always"],
|
|
|
|
"function-paren-newline": ["error", "always"],
|
|
|
|
"no-trailing-spaces": ["error"]
|
2021-07-30 04:11:27 +03:00
|
|
|
}
|
2022-05-04 17:25:28 +03:00
|
|
|
}
|