@ivuorinen/eslint-config 1.0.18 → 1.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.cjs +0 -10
  2. package/jest.cjs +1 -1
  3. package/package.json +12 -7
package/index.cjs CHANGED
@@ -3,10 +3,7 @@
3
3
  const globals = require("globals");
4
4
  const configEslint = require("eslint-config-eslint");
5
5
  const configPrettier = require("eslint-config-prettier");
6
- const pluginImport = require("eslint-plugin-import");
7
6
  const pluginJs = require("@eslint/js");
8
- const pluginN = require("eslint-plugin-n");
9
- const pluginPromise = require("eslint-plugin-promise");
10
7
 
11
8
  /**
12
9
  * @type { import("eslint").Linter.Config[] } config eslint configuration.
@@ -42,13 +39,6 @@ module.exports = [
42
39
  },
43
40
  },
44
41
  pluginJs.configs.recommended,
45
- {
46
- plugins: {
47
- n: pluginN,
48
- import: pluginImport,
49
- promise: pluginPromise,
50
- },
51
- },
52
42
  configPrettier,
53
43
  {
54
44
  ignores: ["coverage/", "dist/", "lib/", "node_modules/"],
package/jest.cjs CHANGED
@@ -19,7 +19,7 @@ module.exports = [
19
19
  jest.configs["flat/style"],
20
20
  {
21
21
  rules: {
22
- ...jest.rules["flat/recommended"].rules,
22
+ ...jest.configs["flat/recommended"].rules,
23
23
  },
24
24
  plugins: {
25
25
  jest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ivuorinen/eslint-config",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "ivuorinen's shareable configuration for ESLint.",
5
5
  "author": {
6
6
  "name": "Ismo Vuorinen",
@@ -49,7 +49,9 @@
49
49
  },
50
50
  "scripts": {
51
51
  "postinstall": "node scripts/postinstall.cjs",
52
- "semantic-release": "semantic-release --ci"
52
+ "semantic-release": "semantic-release --ci",
53
+ "test": "vitest run",
54
+ "test:watch": "vitest"
53
55
  },
54
56
  "dependencies": {
55
57
  "@eslint/js": "^10.0.0",
@@ -57,15 +59,18 @@
57
59
  "eslint": "^10.0.0",
58
60
  "eslint-config-eslint": "^14.0.0",
59
61
  "eslint-config-prettier": "^10.1.8",
60
- "eslint-plugin-import": "^2.32.0",
61
62
  "eslint-plugin-jest": "^29.2.1",
62
- "eslint-plugin-n": "^17.23.1",
63
- "eslint-plugin-promise": "^7.2.1",
64
63
  "globals": "^17.0.0",
65
64
  "typescript": ">=4.2.0"
66
65
  },
67
66
  "devDependencies": {
68
- "@ivuorinen/semantic-release-config": "^1.0.0"
67
+ "@ivuorinen/semantic-release-config": "^1.0.0",
68
+ "vitest": "^4.1.2"
69
69
  },
70
- "packageManager": "yarn@4.13.0"
70
+ "packageManager": "yarn@4.13.0",
71
+ "resolutions": {
72
+ "brace-expansion": "^5.0.5",
73
+ "picomatch": "^4.0.4",
74
+ "undici": "^7.24.0"
75
+ }
71
76
  }