chore: Add lodash-eslint rule

This commit is contained in:
Sidharth Vinod 2022-11-23 00:26:37 +05:30
parent 9da29da63b
commit 1dae3a000d
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD

View File

@ -21,7 +21,16 @@
"plugin:@cspell/recommended", "plugin:@cspell/recommended",
"prettier" "prettier"
], ],
"plugins": ["@typescript-eslint", "no-only-tests", "html", "jest", "jsdoc", "json", "@cspell"], "plugins": [
"@typescript-eslint",
"no-only-tests",
"html",
"jest",
"jsdoc",
"json",
"@cspell",
"lodash"
],
"rules": { "rules": {
"curly": "error", "curly": "error",
"no-console": "error", "no-console": "error",
@ -53,7 +62,8 @@
"allowEmptyCatch": true "allowEmptyCatch": true
} }
], ],
"no-only-tests/no-only-tests": "error" "no-only-tests/no-only-tests": "error",
"lodash/import-scope": ["error", "method"]
}, },
"overrides": [ "overrides": [
{ {