Skip to content

Commit

Permalink
refactor: move to eslint (closes #691) (#692)
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonSiefke authored and JohnstonCode committed Oct 23, 2019
1 parent 2b62c90 commit b67844d
Show file tree
Hide file tree
Showing 13 changed files with 1,160 additions and 567 deletions.
3 changes: 3 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
**/vscode.proposed.d.ts
src/test/**/*.ts
src/tools/**/*.ts
13 changes: 13 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/interface-name-prefix': 'off',
'@typescript-eslint/no-non-null-assertion': 'off',
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
'@typescript-eslint/no-inferrable-types': 'off',
},
}
5 changes: 4 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Place your settings in this file to overwrite default and user settings.
{
}
"prettier.semi": true,
"prettier.singleQuote": false,
"prettier.trailingComma": "none"
}
Loading

0 comments on commit b67844d

Please sign in to comment.