chore: update ESLint configuration and dependencies
- Reordered ESLint extends in .eslintrc.js for better clarity. - Updated ESLint version from 9.23.0 to 8.57.1 in package.json and package-lock.json. - Adjusted import/extensions rule to ignorePackages in .eslintrc.js. - Updated various dependencies in package-lock.json to maintain compatibility and improve performance.
This commit is contained in:
+4
-4
@@ -7,12 +7,12 @@ module.exports = {
|
||||
es6: true,
|
||||
},
|
||||
extends: [
|
||||
'airbnb-base',
|
||||
'eslint:recommended',
|
||||
'prettier',
|
||||
'plugin:prettier/recommended',
|
||||
'airbnb-base',
|
||||
'plugin:import/errors',
|
||||
'plugin:import/warnings',
|
||||
'plugin:prettier/recommended',
|
||||
'prettier',
|
||||
],
|
||||
parserOptions: {
|
||||
ecmaVersion: 2023,
|
||||
@@ -30,7 +30,7 @@ module.exports = {
|
||||
'arrow-body-style': ['error', 'as-needed'],
|
||||
'import/extensions': [
|
||||
'error',
|
||||
'always',
|
||||
'ignorePackages',
|
||||
{
|
||||
js: 'never',
|
||||
jsx: 'never',
|
||||
|
||||
Reference in New Issue
Block a user