Skip to content

Commit 4f86171

Browse files
committed
chore: add eslint
1 parent 64aeba0 commit 4f86171

File tree

4 files changed

+1830
-2
lines changed

4 files changed

+1830
-2
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.eslintrc.js

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
module.exports = {
2+
root: true,
3+
parser: '@typescript-eslint/parser',
4+
plugins: [
5+
'@typescript-eslint',
6+
],
7+
extends: [
8+
'eslint:recommended',
9+
'plugin:@typescript-eslint/recommended',
10+
'plugin:import/errors'
11+
],
12+
settings: {
13+
"import/resolver": {
14+
node: {
15+
extensions: [".ts"],
16+
},
17+
},
18+
},
19+
};

0 commit comments

Comments
 (0)