Skip to content
This repository was archived by the owner on Nov 19, 2023. It is now read-only.

Commit 67e54b3

Browse files
committed
tslint to eslint migration
1 parent 5e69cfb commit 67e54b3

File tree

9 files changed

+1852
-395
lines changed

9 files changed

+1852
-395
lines changed

.eslintignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
node_modules
2+
dist
3+
coverage
4+
.nyc_output
5+
tmp
6+
docs

.eslintrc.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
browser: true,
5+
es6: true,
6+
node: true,
7+
},
8+
parser: '@typescript-eslint/parser',
9+
parserOptions: {
10+
project: 'tsconfig.json',
11+
sourceType: 'module',
12+
},
13+
plugins: [
14+
'eslint-plugin-prefer-arrow',
15+
'eslint-plugin-import',
16+
'eslint-plugin-no-null',
17+
'eslint-plugin-jsdoc',
18+
'@typescript-eslint',
19+
],
20+
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
21+
rules: {},
22+
};

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,4 @@ npm-debug.log*
2424
# temporary files:
2525

2626
*:memory*
27+
/*.log

0 commit comments

Comments
 (0)