aboutsummaryrefslogtreecommitdiff
path: root/.eslintrc.json
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2024-04-29 23:00:22 -0400
committerbobzel <zzzman@gmail.com>2024-04-29 23:00:22 -0400
commitf6a741f38a33bdb30b3a1d88215656dcd3d0712d (patch)
treedf88320222c743d26f2b1341c1489671277baec9 /.eslintrc.json
parentab873e90112f2cac204a57a1b405cc241f7e8381 (diff)
eslint fixes.
Diffstat (limited to '.eslintrc.json')
-rw-r--r--.eslintrc.json3
1 files changed, 3 insertions, 0 deletions
diff --git a/.eslintrc.json b/.eslintrc.json
index 8fd26cb2e..6d851a64a 100644
--- a/.eslintrc.json
+++ b/.eslintrc.json
@@ -1,6 +1,7 @@
{
"extends": ["airbnb", "prettier", "plugin:node/recommended", "plugin:import/react"],
"plugins": ["prettier", "import", "@typescript-eslint"],
+ "ignorePatterns": ["solr-8.3.1/*", "deploy/*"], // <<< ignore all files in test folder
"settings": {
"import/parsers": {
"@typescript-eslint/parser": [".ts", ".tsx"]
@@ -46,11 +47,13 @@
"no-underscore-dangle": "off",
"no-nested-ternary": "off",
"lines-between-class-members": "off",
+ "no-explicit-any": "off",
// Note: you must disable the base rule as it can report incorrect errors
"no-shadow": "off",
"@typescript-eslint/no-shadow": "warn",
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": "error",
+ "@typescript-eslint/no-namespace": 0,
"react/destructuring-assignment": 0,
"no-restricted-globals": ["error", "event"],
"no-param-reassign": ["error", { "props": false }],