We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents e274ac7 + 936847a commit 42db179Copy full SHA for 42db179
.eslintrc.js
@@ -0,0 +1,30 @@
1
+module.exports = {
2
+ env: {
3
+ browser: true,
4
+ commonjs: true,
5
+ es6: true,
6
+ node: true
7
+ },
8
+ extends: 'eslint:recommended',
9
+ parserOptions: {
10
+ ecmaVersion: 2018,
11
+ sourceType: 'script'
12
13
+ rules: {
14
+ 'indent': ['error', 2],
15
+ 'linebreak-style': ['error', 'unix'],
16
+ 'quotes': ['error', 'single'],
17
+ 'semi': ['error', 'always'],
18
+ 'no-unused-vars': ['error', { 'args': 'none' }],
19
+ 'no-console': 'off',
20
+ 'no-useless-escape': 'off',
21
+ 'no-prototype-builtins': 'off',
22
+ 'no-control-regex': 'off',
23
+ 'no-empty': 'off',
24
+ 'no-unsafe-finally': 'off'
25
26
+ globals: {
27
+ 'WebSocket': 'readonly',
28
+ 'globalThis': 'readonly'
29
+ }
30
+};
0 commit comments