@pplancq/eslint-config 2.0.1 → 2.1.1

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.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,12 @@
1
+ ## @pplancq/eslint-config [2.1.1](https://github.com/pplancq/dev-tools/compare/@pplancq/eslint-config@2.1.0...@pplancq/eslint-config@2.1.1) (2024-04-16)
2
+
3
+ ## @pplancq/eslint-config [2.1.0](https://github.com/pplancq/dev-tools/compare/@pplancq/eslint-config@2.0.1...@pplancq/eslint-config@2.1.0) (2024-03-23)
4
+
5
+
6
+ ### Features
7
+
8
+ * **eslint-config:** steps suffix added for test-related overrides ([937fe16](https://github.com/pplancq/dev-tools/commit/937fe16867d435c816f8f395cdd58be3a3f103c8))
9
+
1
10
  ## @pplancq/eslint-config [2.0.1](https://github.com/pplancq/dev-tools/compare/@pplancq/eslint-config@2.0.0...@pplancq/eslint-config@2.0.1) (2024-03-20)
2
11
 
3
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pplancq/eslint-config",
3
- "version": "2.0.1",
3
+ "version": "2.1.1",
4
4
  "license": "MIT",
5
5
  "description": "pplancq eslint config",
6
6
  "author": "pplancq <paul.plancq@outlook.fr>",
@@ -27,20 +27,20 @@
27
27
  "config"
28
28
  ],
29
29
  "dependencies": {
30
- "@typescript-eslint/eslint-plugin": "^7.3.0",
31
- "@typescript-eslint/parser": "^7.2.0",
30
+ "@typescript-eslint/eslint-plugin": "^7.6.0",
31
+ "@typescript-eslint/parser": "^7.6.0",
32
32
  "eslint-config-airbnb": "^19.0.4",
33
33
  "eslint-config-prettier": "^9.1.0",
34
34
  "eslint-import-resolver-typescript": "^3.6.1",
35
35
  "eslint-plugin-import": "^2.29.0",
36
- "eslint-plugin-jest": "^27.6.0",
37
- "eslint-plugin-jest-dom": "^5.1.0",
36
+ "eslint-plugin-jest": "^28.2.0",
37
+ "eslint-plugin-jest-dom": "^5.2.0",
38
38
  "eslint-plugin-jest-extended": "^2.0.0",
39
39
  "eslint-plugin-jsx-a11y": "^6.8.0",
40
40
  "eslint-plugin-react": "^7.34.1",
41
41
  "eslint-plugin-react-hooks": "^4.6.0",
42
- "eslint-plugin-testing-library": "^6.2.0",
43
- "eslint-plugin-vitest": "^0.3.26",
42
+ "eslint-plugin-testing-library": "^6.2.1",
43
+ "eslint-plugin-vitest": "^0.5.3",
44
44
  "eslint-plugin-vitest-globals": "^1.5.0"
45
45
  },
46
46
  "peerDependencies": {
@@ -57,7 +57,6 @@
57
57
  }
58
58
  },
59
59
  "volta": {
60
- "node": "20.10.0",
61
- "npm": "10.2.5"
60
+ "extends": "../../package.json"
62
61
  }
63
62
  }
package/rules/jest.js CHANGED
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  overrides: [
3
3
  {
4
- files: ['*.{test,spec}.{js,jsx,ts,tsx}'],
4
+ files: ['*.{test,spec,steps}.{js,jsx,ts,tsx}'],
5
5
  plugins: ['jest', 'jest-extended'],
6
6
  env: {
7
7
  'jest/globals': true,
package/rules/react.js CHANGED
@@ -89,7 +89,7 @@ module.exports = {
89
89
  },
90
90
  {
91
91
  extends: ['plugin:jest-dom/recommended'],
92
- files: ['*.{test,spec}.{js,jsx,ts,tsx}'],
92
+ files: ['*.{test,spec,steps}.{js,jsx,ts,tsx}'],
93
93
  plugins: ['testing-library'],
94
94
  rules: {
95
95
  // eslint-plugin-testing-library https://github.com/testing-library/eslint-plugin-testing-library
package/rules/vitest.js CHANGED
@@ -1,7 +1,7 @@
1
1
  module.exports = {
2
2
  overrides: [
3
3
  {
4
- files: ['*.{test,spec}.{js,jsx,ts,tsx}'],
4
+ files: ['*.{test,spec,steps}.{js,jsx,ts,tsx}'],
5
5
  plugins: ['vitest', 'vitest-globals'],
6
6
  env: {
7
7
  'vitest-globals/env': true,