mirror of
https://github.com/danbulant/discord.js
synced 2026-05-25 04:52:22 +00:00
Add two more ESLint rules, and move arrow-parens
This commit is contained in:
parent
41c67766d8
commit
e757f7c0d8
1 changed files with 5 additions and 3 deletions
|
|
@ -13,9 +13,8 @@
|
|||
"no-extra-parens": ["warn", "all", {
|
||||
"nestedBinaryExpressions": false
|
||||
}],
|
||||
"arrow-parens": ["error", "as-needed", {
|
||||
"requireForBlockBody": false
|
||||
}],
|
||||
"no-template-curly-in-string": "error",
|
||||
"no-unsafe-negation": "error",
|
||||
"valid-jsdoc": ["error", {
|
||||
"requireReturn": false,
|
||||
"requireReturnDescription": false,
|
||||
|
|
@ -133,6 +132,9 @@
|
|||
"unicode-bom": "error",
|
||||
|
||||
"arrow-body-style": "error",
|
||||
"arrow-parens": ["error", "as-needed", {
|
||||
"requireForBlockBody": false
|
||||
}],
|
||||
"arrow-spacing": "error",
|
||||
"no-duplicate-imports": "error",
|
||||
"no-useless-computed-key": "error",
|
||||
|
|
|
|||
Loading…
Reference in a new issue