Skip to content

Commit 8a670e7

Browse files
committed
Automatic types updating
1 parent 039adcb commit 8a670e7

File tree

15 files changed

+3171
-950
lines changed

15 files changed

+3171
-950
lines changed

.eslintrc.cjs

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ module.exports = {
33
extends: [
44
'xo',
55
'xo-typescript',
6+
'plugin:jsdoc/recommended',
67
],
78
parserOptions: {
89
project: './tsconfig.eslint.json',
@@ -98,13 +99,28 @@ module.exports = {
9899
},
99100
],
100101
'capitalized-comments': 'off',
102+
'jsdoc/check-tag-names': ['warn', {
103+
definedTags: ['category', 'complexity', 'defaultValue', 'initialVersion', 'restrictions', 'rpcVersion'],
104+
}],
105+
// Better handled by typescript
106+
'jsdoc/require-param-type': 'off',
107+
'jsdoc/require-returns-type': 'off',
108+
'jsdoc/valid-types': 'off',
109+
},
110+
settings: {
111+
jsdoc: {
112+
ignorePrivate: true,
113+
},
101114
},
102115
overrides: [
103116
{
104-
files: ['test/**/*.{js,ts}'],
117+
files: ['tests/**/*.{js,ts}'],
105118
extends: [
106119
'plugin:ava/recommended',
107120
],
121+
rules: {
122+
'jsdoc/require-jsdoc': 'off',
123+
},
108124
},
109125
],
110126
};

.github/workflows/build.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,6 @@ jobs:
2828
cache: 'npm'
2929
- run: npm ci
3030
- run: npm run build
31-
env:
32-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3331
- run: npm test
3432
# Currently broken
3533
#- run: npm run node-coveralls

0 commit comments

Comments
 (0)