Skip to content

Commit 1fff4ba

Browse files
committed
Copy eslint* config files from vscode-objectscript repo
1 parent f5e053a commit 1fff4ba

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

Diff for: .eslintignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
vscode.d.ts
2+
vscode.proposed.d.ts

Diff for: .eslintrc.json

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"ecmaVersion": 2018,
5+
"sourceType": "module",
6+
"project": "./tsconfig.json"
7+
},
8+
"env": {
9+
"es6": true,
10+
"node": true
11+
},
12+
"extends": [
13+
"eslint:recommended",
14+
"plugin:@typescript-eslint/recommended",
15+
"plugin:@typescript-eslint/eslint-recommended",
16+
"prettier",
17+
"prettier/@typescript-eslint",
18+
"plugin:prettier/recommended"
19+
],
20+
"plugins": [
21+
"@typescript-eslint"
22+
],
23+
"rules": {
24+
"@typescript-eslint/no-explicit-any": 0,
25+
"@typescript-eslint/explicit-function-return-type": 0,
26+
"@typescript-eslint/no-unused-vars": 0
27+
}
28+
}

0 commit comments

Comments
 (0)