mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-25 08:24:35 +00:00
Allow unused variables in function headers and caught exceptions (#9588)
This commit is contained in:
@@ -290,10 +290,12 @@ js.configs.recommended,
|
|||||||
"@stylistic/wrap-iife": "off",
|
"@stylistic/wrap-iife": "off",
|
||||||
"@stylistic/wrap-regex": "off",
|
"@stylistic/wrap-regex": "off",
|
||||||
"@stylistic/yield-star-spacing": "error",
|
"@stylistic/yield-star-spacing": "error",
|
||||||
yoda: "off",
|
"yoda": "off",
|
||||||
// temporary rules
|
|
||||||
"no-useless-escape": "off",
|
"no-useless-escape": "off",
|
||||||
"no-unused-vars": "warn",
|
"no-unused-vars": ["warn", {
|
||||||
|
"args": "none",
|
||||||
|
"caughtErrors": "none"
|
||||||
|
}],
|
||||||
"no-empty": "off",
|
"no-empty": "off",
|
||||||
"@stylistic/no-extra-semi": "off",
|
"@stylistic/no-extra-semi": "off",
|
||||||
"no-redeclare": "off",
|
"no-redeclare": "off",
|
||||||
|
|||||||
Reference in New Issue
Block a user