Skip to content

Commit

Permalink
chore: use [email protected] (#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic authored Aug 24, 2023
1 parent b0767ef commit ec949bc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
23 changes: 1 addition & 22 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
import eslintConfigESLint from "eslint-config-eslint";
import nodeRecommendedModule from "eslint-plugin-n/configs/recommended-module.js";
import nodeRecommendedScript from "eslint-plugin-n/configs/recommended-script.js";
import globals from "globals";

export default [
Expand All @@ -12,26 +10,7 @@ export default [
"tools/create-test-example.js"
]
},

// eslintConfigESLint[3] is eslint-plugin-n's recommended-script config
...eslintConfigESLint.slice(0, 3),
{
files: ["**/*.js"],
...nodeRecommendedModule
},
{
files: ["**/*.cjs"],
...nodeRecommendedScript
},
...eslintConfigESLint.slice(4),

{
settings: {
jsdoc: {
mode: "typescript"
}
}
},
...eslintConfigESLint,
{
files: ["tests/lib/**"],
languageOptions: {
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,7 @@
"c8": "^7.11.0",
"chai": "^4.3.6",
"eslint": "^8.44.0",
"eslint-config-eslint": "^8.0.0",
"eslint-plugin-n": "^16.0.0",
"eslint-config-eslint": "^9.0.0",
"eslint-release": "^3.2.0",
"esprima-fb": "^8001.2001.0-dev-harmony-fb",
"globals": "^13.20.0",
Expand Down

0 comments on commit ec949bc

Please sign in to comment.