Skip to content

Commit 17e44ca

Browse files
committed
some tests
1 parent f51fe90 commit 17e44ca

File tree

5 files changed

+1421
-20
lines changed

5 files changed

+1421
-20
lines changed

.eslintrc.js

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1+
// .eslintrc.js
12
module.exports = {
2-
env: {
3-
node: true,
4-
es6: true,
5-
jest: true,
6-
},
7-
extends: ['eslint:recommended'],
8-
plugins: ['jest'],
3+
plugins: [
4+
'@stylistic'
5+
],
96
rules: {
10-
'jest/no-disabled-tests': 'warn',
11-
'jest/no-focused-tests': 'error',
12-
'jest/no-identical-title': 'error',
13-
'jest/valid-expect': 'error',
14-
},
15-
};
7+
8+
'@stylistic/indent': ['error', 2],
9+
// ...
10+
}
11+
}

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,3 +128,6 @@ dist
128128
.yarn/build-state.yml
129129
.yarn/install-state.gz
130130
.pnp.*
131+
132+
results.sarif
133+
tmpconf

0 commit comments

Comments
 (0)