Update eslint to use ecma standard 11

This commit is contained in:
Nicholas Schwab 2022-06-19 11:58:19 +02:00
parent ff8505e685
commit b150448250
1 changed files with 4 additions and 1 deletions

View File

@ -14,6 +14,9 @@ env:
browser: true
es6: true
parserOptions:
ecmaVersion: 11
extends:
"eslint:all"
@ -34,7 +37,7 @@ rules:
max-statements: ["error", {"max": 40}]
quotes: ["error", "double", {"avoidEscape": true}]
object-property-newline: ["error", {"allowMultiplePropertiesPerLine": true}]
comma-dangle: ["error", "always-multiline"]
comma-dangle: ["error", {"arrays": "always-multiline", "objects": "always-multiline"}]
no-magic-numbers: "off"
no-undefined: "off"
wrap-iife: ["error", "inside"]