-
Notifications
You must be signed in to change notification settings - Fork 5
/
.eslintrc.js
29 lines (29 loc) · 861 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
node: true,
jquery: true,
},
extends: ["prettier", "airbnb-base", "plugin:unicorn/recommended"],
parserOptions: {
ecmaVersion: "latest",
},
plugins: ["unicorn", "prettier"],
rules: {
"unicorn/prefer-top-level-await": "off",
"unicorn/prefer-module": "off",
"unicorn/filename-case": "off",
"unicorn/explicit-length-check": "off",
"unicorn/prevent-abbreviations": "off",
"consistent-return": "off",
"unicorn/better-regex": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/numeric-separators-style": "off",
"no-param-reassign": "off",
"max-len": "off",
quotes: [2, "double"],
indent: ["error", 4],
},
};