Skip to content

Commit b013e6e

Browse files
targosnodejs-github-bot
authored andcommitted
tools: update ESLint dependencies
- Update all dependencies to their latest version and regenerate lock file. - Fixup deprecated field of `@stylistic/eslint-plugin` config. - Disable `assignmentOperator` indent rule (we are inconsistent, so there's no valid config for it). - Disable jsdoc rules that we do not follow. PR-URL: #60908 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ulises Gascón <[email protected]>
1 parent 4ea921b commit b013e6e

File tree

3 files changed

+343
-288
lines changed

3 files changed

+343
-288
lines changed

eslint.config.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,8 @@ export default [
277277
wrapIndent: ' ',
278278
}],
279279
'jsdoc/check-alignment': 'error',
280+
'jsdoc/reject-any-type': 'off',
281+
'jsdoc/reject-function-type': 'off',
280282

281283
// Stylistic rules.
282284
'@stylistic/js/arrow-parens': 'error',
@@ -298,6 +300,7 @@ export default [
298300
MemberExpression: 'off',
299301
ObjectExpression: 'first',
300302
SwitchCase: 1,
303+
assignmentOperator: 'off',
301304
}],
302305
'@stylistic/js/key-spacing': 'error',
303306
'@stylistic/js/keyword-spacing': 'error',
@@ -326,7 +329,7 @@ export default [
326329
'error',
327330
{ blankLine: 'always', prev: 'function', next: 'function' },
328331
],
329-
'@stylistic/js/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: true }],
332+
'@stylistic/js/quotes': ['error', 'single', { avoidEscape: true, allowTemplateLiterals: 'always' }],
330333
'@stylistic/js/quote-props': ['error', 'consistent'],
331334
'@stylistic/js/rest-spread-spacing': 'error',
332335
'@stylistic/js/semi': 'error',

0 commit comments

Comments
 (0)