-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc.cjs
33 lines (33 loc) · 843 Bytes
/
.eslintrc.cjs
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
30
31
32
33
module.exports = {
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
env: {
browser: true,
node: true,
es2021: true
},
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaVersion: "latest",
sourceType: "module"
},
root: true,
plugins: ["@typescript-eslint"],
rules: {
"no-unused-vars": "off",
"@typescript-eslint/no-unused-vars": [
"warn",
{
varsIgnorePattern: "^_",
argsIgnorePattern: "^_"
}
],
"tailwindcss/classnames-order": "off",
"tailwindcss/no-custom-classname": "off",
camelcase: [
"warn",
{
allow: ["elements_selector", "callback_loaded"]
}
]
}
};