lint: remove deprecated eslint formatting rules (#6444)

* lint: remove deprecated eslint rules

* Rename -Infinity.md to 6444.md
This commit is contained in:
Matiss Janis Aboltins
2025-12-18 23:51:44 +00:00
committed by GitHub
parent b54fdd6888
commit a0850eab17
2 changed files with 6 additions and 18 deletions

View File

@@ -111,9 +111,7 @@ export default defineConfig(
],
curly: ['warn', 'multi-line', 'consistent'],
'dot-location': ['warn', 'property'],
eqeqeq: ['warn', 'smart'],
'new-parens': 'warn',
'no-array-constructor': 'warn',
'no-caller': 'warn',
'no-cond-assign': ['warn', 'except-parens'],
@@ -148,20 +146,6 @@ export default defineConfig(
'no-lone-blocks': 'warn',
'no-mixed-operators': [
'warn',
{
groups: [
['&', '|', '^', '~', '<<', '>>', '>>>'],
['==', '!=', '===', '!==', '>', '>=', '<', '<='],
['&&', '||'],
['in', 'instanceof'],
],
allowSamePrecedence: false,
},
],
'no-multi-str': 'warn',
'no-global-assign': 'warn',
'no-unsafe-negation': 'warn',
@@ -219,10 +203,8 @@ export default defineConfig(
],
'no-with': 'warn',
'no-whitespace-before-property': 'warn',
'require-yield': 'warn',
'rest-spread-spacing': ['warn', 'never'],
strict: ['warn', 'never'],
'unicode-bom': ['warn', 'never'],
'use-isnan': 'warn',

View File

@@ -0,0 +1,6 @@
---
category: Maintenance
authors: [MatissJanis]
---
lint: remove deprecated eslint rules