-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
27 lines (27 loc) · 1016 Bytes
/
.eslintrc.json
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
{
/**
* Check if env should be changed for your target environment
* https://eslint.org/docs/latest/user-guide/configuring/language-options#specifying-environments
*/
"env": { "browser": true },
"extends": [
"eslint:recommended",
"airbnb-base",
"airbnb-typescript/base",
"plugin:@typescript-eslint/recommended",
/* recommended-requiring-type-checking may be dropped depending on friction */
"plugin:@typescript-eslint/recommended-requiring-type-checking",
/* strict may be dropped depending on friction */
"plugin:@typescript-eslint/strict",
"plugin:solid/typescript",
"plugin:prettier/recommended"
],
"parser": "@typescript-eslint/parser",
"parserOptions": { "project": ["./tsconfig.json"] },
"plugins": ["@typescript-eslint", "solid"],
"rules": {
"import/extensions": ["error", "ignorePackages", { "": "never" }],
/* "endOfLine": "auto" is added to accommodate Windows os */
"prettier/prettier": ["error", { "endOfLine": "auto" }]
}
}