mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-01-28 07:03:17 +08:00
chore: Add lodash-eslint rule
This commit is contained in:
parent
9da29da63b
commit
1dae3a000d
@ -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": [
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user