mirror of
https://github.com/zulip/zulip-desktop.git
synced 2025-10-23 03:31:56 +00:00
xo: Simplify configuration.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
11
package.json
11
package.json
@@ -198,11 +198,7 @@
|
||||
"prettier": true,
|
||||
"rules": {
|
||||
"@typescript-eslint/no-dynamic-delete": "off",
|
||||
"@typescript-eslint/no-non-null-assertion": "off",
|
||||
"arrow-body-style": "error",
|
||||
"import/first": "error",
|
||||
"import/newline-after-import": "error",
|
||||
"import/no-cycle": "error",
|
||||
"import/no-restricted-paths": [
|
||||
"error",
|
||||
{
|
||||
@@ -288,18 +284,13 @@
|
||||
"disallowTypeAnnotations": false
|
||||
}
|
||||
],
|
||||
"@typescript-eslint/no-confusing-void-expression": "off",
|
||||
"@typescript-eslint/no-redeclare": "error",
|
||||
"@typescript-eslint/no-unused-vars": [
|
||||
"error",
|
||||
{
|
||||
"vars": "all",
|
||||
"args": "after-used",
|
||||
"argsIgnorePattern": "^_",
|
||||
"caughtErrors": "all"
|
||||
}
|
||||
],
|
||||
"no-redeclare": "off"
|
||||
]
|
||||
},
|
||||
"settings": {
|
||||
"import/resolver": "typescript"
|
||||
|
Reference in New Issue
Block a user