aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js17
1 files changed, 11 insertions, 6 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index 066d415..d3bc05b 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,12 +1,11 @@
1module.exports = { 1module.exports = {
2 root: true,
2 env: { 3 env: {
3 commonjs: true, 4 commonjs: true,
4 es6: true, 5 es6: true,
5 node: true, 6 node: true,
6 }, 7 },
7 extends: [ 8 extends: ['airbnb-base'],
8 'airbnb-base',
9 ],
10 globals: { 9 globals: {
11 Atomics: 'readonly', 10 Atomics: 'readonly',
12 SharedArrayBuffer: 'readonly', 11 SharedArrayBuffer: 'readonly',
@@ -21,8 +20,14 @@ module.exports = {
21 ecmaVersion: 2018, 20 ecmaVersion: 2018,
22 }, 21 },
23 rules: { 22 rules: {
24 "class-methods-use-this": 'off', 23 'arrow-parens': 0,
25 "no-restricted-syntax": 'off', 24 'class-methods-use-this': 0,
26 "max-len": 0, 25 eqeqeq: 1,
26 'implicit-arrow-linebreak': 0,
27 'max-len': 0,
28 'no-await-in-loop': 1,
29 'no-restricted-syntax': 0,
30 'operator-linebreak': 0,
31 'object-curly-newline': 0,
27 }, 32 },
28}; 33};