We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent da219e0 commit 2d660f2Copy full SHA for 2d660f2
.eslintrc.json
eslint.config.js
@@ -0,0 +1,30 @@
1
+import js from "@eslint/js";
2
+import globals from "globals";
3
+
4
+export default [
5
+ js.configs.recommended,
6
+ {
7
+ languageOptions: {
8
+ globals: {
9
+ channel: "readonly",
10
+ ...globals.browser
11
+ },
12
+ ecmaVersion: 2022,
13
+ sourceType: "module"
14
15
+ rules: {
16
+ indent: ["error", 4],
17
+ "linebreak-style": ["error", "unix"],
18
+ quotes: ["error", "double"],
19
+ semi: ["error", "always"],
20
+ "no-unused-vars": ["error", {caughtErrors: "none"}],
21
+ "no-var": ["error"]
22
23
+ ignores: [
24
+ "app/build/",
25
+ "app/src/*/assets/viewer",
26
+ "releases/"
27
+ ]
28
29
+ }
30
+];
0 commit comments