Skip to content

Commit 197ae4e

Browse files
authored
chore: bump dev dependencies (#483)
1 parent 09d0650 commit 197ae4e

11 files changed

+2255
-7445
lines changed

.eslintrc.json

+3-7
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,13 @@
11
{
2-
"env": {
3-
"node": true
4-
},
52
"parserOptions": {
6-
"ecmaVersion": 6,
3+
"ecmaVersion": 2024,
74
"sourceType": "script"
85
},
9-
"plugins": ["eslint-plugin", "node", "prettier"],
6+
"plugins": ["eslint-plugin", "n", "prettier"],
107
"extends": [
118
"eslint:recommended",
129
"plugin:eslint-plugin/recommended",
13-
"plugin:node/recommended",
10+
"plugin:n/recommended",
1411
"plugin:prettier/recommended"
1512
],
1613
"rules": {
@@ -25,7 +22,6 @@
2522
],
2623
"eslint-plugin/prefer-placeholders": "error",
2724
"eslint-plugin/test-case-shorthand-strings": "error",
28-
"node/no-unsupported-features": ["error", { "version": 6 }],
2925
"prettier/prettier": "error"
3026
}
3127
}

.husky/pre-commit

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
32

43
npx lint-staged

README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,8 @@ or start with the recommended rule set:
9696
🚫 Configurations disabled in.\
9797
✅ Set in the `flat/recommended` configuration.\
9898
✅ Set in the `recommended` configuration.\
99-
🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).
99+
🔧 Automatically fixable by the
100+
[`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).
100101

101102
| Name                      | Description | 💼 | ⚠️ | 🚫 | 🔧 |
102103
| :------------------------------------------------------------------- | :----------------------------------------------------------------------------------------- | :-- | :-- | :-- | :-- |

__tests__/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ test('can require index file', () => {
77
test('rule set', () => {
88
const plugin = require('../index')
99
expect(plugin.configs.recommended.rules).toEqual(
10-
plugin.configs['flat/recommended'].rules
10+
plugin.configs['flat/recommended'].rules,
1111
)
1212
expect(plugin.configs['flat/recommended'].plugins.promise).toBe(plugin)
1313
})

0 commit comments

Comments
 (0)