summaryrefslogtreecommitdiffstats
path: root/.eslintrc.yml
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.yml')
-rw-r--r--.eslintrc.yml26
1 files changed, 26 insertions, 0 deletions
diff --git a/.eslintrc.yml b/.eslintrc.yml
new file mode 100644
index 0000000..c888f4c
--- /dev/null
+++ b/.eslintrc.yml
@@ -0,0 +1,26 @@
+env:
+ browser: true
+ es2022: true
+extends: eslint:recommended
+parserOptions:
+ sourceType: module
+rules:
+ eqeqeq:
+ - warn
+ - always
+ indent:
+ - error
+ - 4
+ - ignoredNodes:
+ - Program > IfStatement > BlockStatement
+ - Program > ExpressionStatement > CallExpression > ArrowFunctionExpression > BlockStatement
+ - CallExpression > MemberExpression
+ - ArrayExpression > Literal
+ no-control-regex: off
+ no-empty: off
+ sort-imports: warn
+ strict: warn
+globals:
+ browser: readonly
+ chrome: readonly
+ vAPI: readonly