Skip to content

Commit

Permalink
eslint: switch camelcase and underscore dangle from off to warn (#2108)
Browse files Browse the repository at this point in the history
in preparation for fixing them

keep the camelcase warnings off for object keys. these could be API keys or something. needs further investigation before refactoring them
  • Loading branch information
NovemLinguae authored Dec 7, 2024
1 parent db0bcb7 commit 5152750
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
},
"rules": {
"array-bracket-spacing": "off",
"camelcase": "off",
"computed-property-spacing": "off",
"indent": "off",
"jsdoc/require-param": "off",
Expand All @@ -22,7 +21,6 @@
"no-jquery/no-class-state": "off",
"no-jquery/no-global-selector": "off",
"no-shadow": "off",
"no-underscore-dangle": "off",
"object-curly-spacing": "off",
"space-before-function-paren": "off",
"space-in-parens": "off",
Expand All @@ -41,6 +39,7 @@
}
],

"camelcase": ["warn", {"properties": "never"}],
"es-x/no-array-prototype-includes": "warn",
"es-x/no-object-values": "warn",
"mediawiki/class-doc": "warn",
Expand All @@ -58,6 +57,7 @@
"no-return-assign": "warn",
"no-script-url": "warn",
"no-throw-literal": "warn",
"no-underscore-dangle": "warn",
"no-unused-expressions": "warn",
"no-use-before-define": "warn",
"no-useless-concat": "warn",
Expand Down

0 comments on commit 5152750

Please sign in to comment.