Skip to content

Commit 1891869

Browse files
committed
* TSConfig target can be ES2019 which covers the last 2 years of VSCode at least - https://github.com/microsoft/TypeScript/wiki/Node-Target-Mapping
* Prettier * Eslint * Remove tslint * language-service.ts comment out unused variables
1 parent 6242c87 commit 1891869

8 files changed

+1004
-247
lines changed

.eslintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
lib
2+
e2e
3+
.eslintrc.js

.eslintrc.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
env: {
3+
es6: true,
4+
node: true,
5+
},
6+
extends: ['plugin:@typescript-eslint/recommended'],
7+
parser: '@typescript-eslint/parser',
8+
parserOptions: {
9+
project: 'tsconfig.json',
10+
sourceType: 'module',
11+
},
12+
plugins: ['@typescript-eslint'],
13+
rules: {
14+
'@typescript-eslint/no-explicit-any': 'off',
15+
'@typescript-eslint/explicit-module-boundary-types': 'off',
16+
},
17+
};

.prettierrc.json

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": true,
3+
"printWidth": 120
4+
}

0 commit comments

Comments
 (0)