Skip to content

Commit b67844d

Browse files
SimonSiefkeJohnstonCode
authored andcommitted
refactor: move to eslint (closes #691) (#692)
1 parent 2b62c90 commit b67844d

File tree

13 files changed

+1160
-567
lines changed

13 files changed

+1160
-567
lines changed

.eslintignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
**/vscode.proposed.d.ts
2+
src/test/**/*.ts
3+
src/tools/**/*.ts

.eslintrc.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
plugins: ['@typescript-eslint'],
4+
extends: ['plugin:@typescript-eslint/recommended'],
5+
rules: {
6+
'@typescript-eslint/explicit-function-return-type': 'off',
7+
'@typescript-eslint/no-explicit-any': 'off',
8+
'@typescript-eslint/interface-name-prefix': 'off',
9+
'@typescript-eslint/no-non-null-assertion': 'off',
10+
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
11+
'@typescript-eslint/no-inferrable-types': 'off',
12+
},
13+
}

.vscode/settings.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
3-
}
3+
"prettier.semi": true,
4+
"prettier.singleQuote": false,
5+
"prettier.trailingComma": "none"
6+
}

0 commit comments

Comments
 (0)