Skip to content

Commit

Permalink
Upgrade all dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
smmr0 committed Apr 7, 2024
1 parent 0240cf1 commit ad14b86
Show file tree
Hide file tree
Showing 5 changed files with 305 additions and 333 deletions.
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
21.2.0
21.7.2
7 changes: 6 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
import eslintConfigSummer from '.'

export default eslintConfigSummer
export default [
{
ignores: eslintConfigSummer.ignores,
},
eslintConfigSummer,
]
17 changes: 9 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,20 @@
import eslintJs from '@eslint/js'
import stylisticJs from '@stylistic/eslint-plugin-js'
import stylisticMigrate from '@stylistic/eslint-plugin-migrate'
import stylisticPlus from '@stylistic/eslint-plugin-plus'

export default {
languageOptions: {
ecmaVersion: 'latest',
},
linterOptions: {
reportUnusedDisableDirectives: true,
},
ignores: [
'.pnp.*',
'.yarn/**',
],
plugins: {
'@stylistic/js': stylisticJs,
'@stylistic/migrate': stylisticMigrate,
'@stylistic/plus': stylisticPlus,
},
rules: {
...eslintJs.configs.all.rules,
Expand All @@ -34,10 +33,6 @@ export default {
'error',
'always',
],
'no-inner-declarations': [
'error',
'both',
],
'no-irregular-whitespace': [
'error',
{
Expand Down Expand Up @@ -66,11 +61,11 @@ export default {
'error',
{
args: 'all',
caughtErrors: 'all',
varsIgnorePattern: '^_',
argsIgnorePattern: '^_',
caughtErrorsIgnorePattern: '^_',
destructuredArrayIgnorePattern: '^_',
reportUsedIgnorePattern: true,
},
],
'use-isnan': [
Expand Down Expand Up @@ -404,5 +399,11 @@ export default {

// @stylistic/migrate
'@stylistic/migrate/migrate': 'error',

// @stylistic/plus
'@stylistic/plus/indent-binary-ops': [
'error',
'tab',
],
},
}
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,16 @@
"version": "1.1.0",
"private": true,
"type": "module",
"packageManager": "yarn@4.0.2",
"packageManager": "yarn@4.1.1",
"main": "index.js",
"dependencies": {
"@eslint/js": "^8.54.0",
"@stylistic/eslint-plugin-js": "^1.4.1",
"@stylistic/eslint-plugin-migrate": "^1.4.1"
"@eslint/js": "^9.0.0",
"@stylistic/eslint-plugin-js": "^1.7.0",
"@stylistic/eslint-plugin-migrate": "^1.7.0",
"@stylistic/eslint-plugin-plus": "^1.7.0"
},
"devDependencies": {
"eslint": "^8.54.0"
"eslint": "^9.0.0"
},
"scripts": {
"lint": "eslint ."
Expand Down
Loading

0 comments on commit ad14b86

Please sign in to comment.