-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
76 lines (75 loc) · 1.89 KB
/
.eslintrc
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"jsx": true,
"useJSXTextNode": true,
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"ignorePatterns": [
"/out"
],
"plugins": [
"@typescript-eslint",
"prettier",
"roblox-ts",
"unicorn",
"perfectionist"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended",
"plugin:roblox-ts/recommended",
"plugin:unicorn/recommended",
"plugin:perfectionist/recommended-natural"
],
"rules": {
"prettier/prettier": [
"warn",
{
"semi": true,
"trailingComma": "all",
"singleQuote": false,
"printWidth": 120,
"tabWidth": 4,
"useTabs": true,
"endOfLine": "auto"
}
],
"roblox-ts/no-private-identifier": "off",
"no-constant-condition": "off",
"no-inner-declarations": "off",
"unicorn/no-nested-ternary": "off",
"unicorn/catch-error-name": "off",
"unicorn/no-new-array": "off",
"unicorn/prefer-node-protocol": "off",
"unicorn/prefer-module": "off",
"unicorn/consistent-function-scoping": "off",
"unicorn/no-array-callback-reference": "off",
"unicorn/no-useless-undefined": "off",
"unicorn/prefer-math-trunc": "off",
"unicorn/no-array-reduce": "off",
"unicorn/require-array-join-separator": "off",
"unicorn/empty-brace-spaces": "off",
"unicorn/no-unreadable-array-destructuring": "off",
"unicorn/number-literal-case": "off",
"unicorn/numeric-separators-style": "off",
"unicorn/no-array-method-this-argument": "off",
"unicorn/prefer-spread": "off",
"unicorn/no-array-for-each": "off",
"unicorn/switch-case-braces": "off",
"unicorn/prefer-array-some": "off",
"perfectionist/sort-objects": [
"error",
{
"type": "natural",
"order": "asc"
}
],
"perfectionist/sort-named-imports": "off",
"perfectionist/sort-imports": "off",
"perfectionist/sort-classes": "off"
}
}