-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.eslintrc
35 lines (35 loc) · 818 Bytes
/
.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
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"jsx": true,
"useJSXTextNode": true,
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
},
"ignorePatterns": [
"/out",
"/dev",
"/scripts",
"*.config.js"
],
"plugins": [
"@typescript-eslint",
"roblox-ts"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking",
"plugin:roblox-ts/recommended"
],
"rules": {
"@typescript-eslint/consistent-type-imports": "error",
"@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-misused-promises": "off",
"@typescript-eslint/prefer-readonly": "error",
"@typescript-eslint/semi": "error",
"linebreak-style": "error",
"eol-last": "error"
}
}