aboutsummaryrefslogtreecommitdiffstats
path: root/.eslintrc.js
diff options
context:
space:
mode:
Diffstat (limited to '.eslintrc.js')
-rw-r--r--.eslintrc.js24
1 files changed, 22 insertions, 2 deletions
diff --git a/.eslintrc.js b/.eslintrc.js
index d9be6f9..25e75f3 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -10,6 +10,26 @@ module.exports = {
10 node: true, 10 node: true,
11 jquery: true, 11 jquery: true,
12 }, 12 },
13 extends: ['eslint:recommended'], 13 extends: ['eslint:recommended', 'plugin:unicorn/recommended'],
14 rules: {}, 14 rules: {
15 // eslint-plugin-unicorn
16 'unicorn/no-null': 0,
17 'unicorn/no-useless-undefined': 0,
18 'unicorn/prefer-module': 0,
19 'unicorn/prevent-abbreviations': 0,
20 'unicorn/prefer-node-protocol': 0,
21 'unicorn/import-style': [
22 2,
23 {
24 styles: {
25 path: {
26 named: true,
27 },
28 },
29 },
30 ],
31 'unicorn/consistent-destructuring': 0,
32 'unicorn/no-array-reduce': 0,
33 'unicorn/no-nested-ternary': 0,
34 },
15}; 35};