mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-12 12:41:58 +02:00
Add and sort eslint rules
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
"sourceType": "module"
|
||||
},
|
||||
"rules": {
|
||||
"class-methods-use-this": "error",
|
||||
"default-case-last": "error",
|
||||
"default-param-last": "error",
|
||||
"dot-notation": "error",
|
||||
@@ -73,14 +74,14 @@
|
||||
"no-unreachable-loop": "warn",
|
||||
"no-unused-expressions": "error",
|
||||
"no-unused-vars": "warn",
|
||||
"no-useless-escape": "off",
|
||||
"no-use-before-define": ["off", "nofunc"],
|
||||
"no-useless-backreference": "warn",
|
||||
"no-useless-call": "warn",
|
||||
"no-useless-concat": "warn",
|
||||
"no-useless-escape": "off",
|
||||
"no-void": "error",
|
||||
"no-warning-comments": "warn",
|
||||
"no-with": "error",
|
||||
"no-use-before-define": ["off", "nofunc"],
|
||||
"no-useless-backreference": "warn",
|
||||
"quotes": ["error", "single"],
|
||||
"radix": ["error", "always"],
|
||||
"require-atomic-updates": "error",
|
||||
|
||||
Reference in New Issue
Block a user