Skip to content

Commit a39a141

Browse files
stepankuzmingithub-actions[bot]
authored andcommitted
Update GL JS dependencies and ESLint setup (internal-8486)
GitOrigin-RevId: e01df98d63a7d41580622f84ad2834b1fd16c7f3
1 parent 5e6eb16 commit a39a141

File tree

14 files changed

+331
-310
lines changed

14 files changed

+331
-310
lines changed

eslint.config.js

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export default tseslint.config(
2222
...config,
2323
tseslint.configs.recommendedTypeChecked,
2424
importX.flatConfigs.recommended,
25-
jsdoc.configs['flat/recommended'],
25+
jsdoc.configs['flat/recommended-typescript'],
2626

2727
// Settings
2828
{
@@ -145,6 +145,7 @@ export default tseslint.config(
145145
'@typescript-eslint/method-signature-style': 'error',
146146
'@typescript-eslint/consistent-type-exports': 'error',
147147
'@typescript-eslint/consistent-type-imports': 'error',
148+
'@typescript-eslint/no-redundant-type-constituents': 'off',
148149
'@typescript-eslint/restrict-template-expressions': ['off', {
149150
allowNever: true,
150151
}],
@@ -241,21 +242,18 @@ export default tseslint.config(
241242
// Disable JSDoc rules that are not relevant to public APIs.
242243
'jsdoc/check-alignment': 'off',
243244
'jsdoc/check-line-alignment': 'off',
244-
'jsdoc/check-param-names': 'off',
245245
'jsdoc/multiline-blocks': 'off',
246246
'jsdoc/no-defaults': 'off',
247-
'jsdoc/no-multi-asterisks': 'off',
248247
'jsdoc/no-types': 'off',
249-
'jsdoc/require-description-complete-sentence': 'off',
250248
'jsdoc/require-jsdoc': 'off',
251249
'jsdoc/require-param-description': 'off',
252-
'jsdoc/require-param-type': 'off',
253250
'jsdoc/require-param': 'off',
254251
'jsdoc/require-returns-check': 'off',
255252
'jsdoc/require-returns-description': 'off',
256-
'jsdoc/require-returns-type': 'off',
257253
'jsdoc/require-returns': 'off',
258254
'jsdoc/tag-lines': 'off',
255+
'jsdoc/reject-any-type': 'off',
256+
'jsdoc/reject-function-type': 'off'
259257
}
260258
},
261259

0 commit comments

Comments
 (0)