Skip to content

Commit

Permalink
chore: bump dev dependencies (#483)
Browse files Browse the repository at this point in the history
  • Loading branch information
scagood authored Jul 24, 2024
1 parent 09d0650 commit 197ae4e
Show file tree
Hide file tree
Showing 11 changed files with 2,255 additions and 7,445 deletions.
10 changes: 3 additions & 7 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,13 @@
{
"env": {
"node": true
},
"parserOptions": {
"ecmaVersion": 6,
"ecmaVersion": 2024,
"sourceType": "script"
},
"plugins": ["eslint-plugin", "node", "prettier"],
"plugins": ["eslint-plugin", "n", "prettier"],
"extends": [
"eslint:recommended",
"plugin:eslint-plugin/recommended",
"plugin:node/recommended",
"plugin:n/recommended",
"plugin:prettier/recommended"
],
"rules": {
Expand All @@ -25,7 +22,6 @@
],
"eslint-plugin/prefer-placeholders": "error",
"eslint-plugin/test-case-shorthand-strings": "error",
"node/no-unsupported-features": ["error", { "version": 6 }],
"prettier/prettier": "error"
}
}
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ or start with the recommended rule set:
🚫 Configurations disabled in.\
Set in the `flat/recommended` configuration.\
Set in the `recommended` configuration.\
🔧 Automatically fixable by the [`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).
🔧 Automatically fixable by the
[`--fix` CLI option](https://eslint.org/docs/user-guide/command-line-interface#--fix).

| Name                      | Description | 💼 | ⚠️ | 🚫 | 🔧 |
| :------------------------------------------------------------------- | :----------------------------------------------------------------------------------------- | :-- | :-- | :-- | :-- |
Expand Down
2 changes: 1 addition & 1 deletion __tests__/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ test('can require index file', () => {
test('rule set', () => {
const plugin = require('../index')
expect(plugin.configs.recommended.rules).toEqual(
plugin.configs['flat/recommended'].rules
plugin.configs['flat/recommended'].rules,
)
expect(plugin.configs['flat/recommended'].plugins.promise).toBe(plugin)
})
Loading

0 comments on commit 197ae4e

Please sign in to comment.