@akinon/eslint-plugin-projectzero 2.0.0-beta.12 → 2.0.0-beta.14

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,63 +1,114 @@
1
1
  # @akinon/eslint-plugin-projectzero
2
2
 
3
- ## 2.0.0-beta.12
3
+ ## 2.0.0-beta.14
4
4
 
5
- ### Minor Changes
5
+ ## 2.0.0-beta.13
6
+
7
+ ## 1.118.0
8
+
9
+ ## 1.117.0
10
+
11
+ ## 1.116.0
12
+
13
+ ## 1.115.0
14
+
15
+ ## 1.114.0
16
+
17
+ ## 1.113.0
6
18
 
7
- - 1d79e32: ZERO-3540: Next.js Upgrade to 15.4.5
19
+ ## 1.112.0
8
20
 
9
- ## 2.0.0-beta.11
21
+ ## 1.111.0
22
+
23
+ ## 1.110.0
24
+
25
+ ## 1.109.0
26
+
27
+ ## 1.108.0
28
+
29
+ ## 1.107.0
30
+
31
+ ## 1.106.0
32
+
33
+ ## 1.105.0
10
34
 
11
35
  ### Minor Changes
12
36
 
13
- - ac783d6: ZERO-3482: Update tailwindcss to version 4.1.11 and enhance button cursor styles
37
+ - 62779ee: ZERO-3668: Refactor check-menu-depth rule to simplify depth validation logic and remove unused error messages
38
+
39
+ ## 1.104.0
14
40
 
15
- ## 2.0.0-beta.10
41
+ ## 1.103.0
42
+
43
+ ## 1.102.0
44
+
45
+ ## 1.101.0
46
+
47
+ ## 1.100.0
16
48
 
17
49
  ### Minor Changes
18
50
 
19
- - 2806320: ZERO-3390: Update version tailwindcss, autoprefixer, tailwind-merge, postcss
51
+ - e57cd93: ZERO-3460: prevent installment loop on payment method switch
20
52
 
21
- ## 2.0.0-beta.9
53
+ ## 1.99.0
22
54
 
23
55
  ### Minor Changes
24
56
 
25
- - 0fe7711: ZERO-3387: Upgrade nextjs, eslint-config-next
57
+ - d58538b: ZERO-3638: Enhance RC pipeline: add fetch, merge, and pre-release setup with conditional commit
58
+
59
+ ## 1.98.0
26
60
 
27
- ## 2.0.0-beta.8
61
+ ## 1.97.0
28
62
 
29
- ## 2.0.0-beta.7
63
+ ## 1.96.0
30
64
 
31
- ## 2.0.0-beta.6
65
+ ## 1.95.0
32
66
 
33
67
  ### Minor Changes
34
68
 
35
- - 8f05f9b: ZERO-3250: Beta branch synchronized with Main branch
69
+ - 3b47394: ZERO-3582: Enhance check-menu-depth rule to enforce depth parameter in getMenu calls and add corresponding error messages
36
70
 
37
- ## 2.0.0-beta.5
71
+ ## 1.94.0
38
72
 
39
- ## 2.0.0-beta.4
73
+ ## 1.93.0
40
74
 
41
- ## 2.0.0-beta.3
75
+ ## 1.92.0
42
76
 
43
- ## 2.0.0-beta.2
77
+ ## 1.91.0
44
78
 
45
- ### Minor Changes
79
+ ## 1.90.0
80
+
81
+ ## 1.89.0
82
+
83
+ ## 1.88.0
46
84
 
47
- - a006015: ZERO-3116: Add not-found page and update default middleware.
48
- - 1eeb3d8: ZERO-3116: Add not found page
85
+ ## 1.87.0
49
86
 
50
- ## 2.0.0-beta.1
87
+ ## 1.86.0
88
+
89
+ ## 1.85.0
51
90
 
52
91
  ### Minor Changes
53
92
 
54
- - ZERO-3091: Upgrade Next.js to v15 and React to v19
93
+ - 443ea19: ZERO-3254: Add ESLint rule to enforce correct order of pre-order middlewares
94
+
95
+ ## 1.84.0
96
+
97
+ ## 1.83.0
98
+
99
+ ## 1.82.0
100
+
101
+ ## 1.81.0
102
+
103
+ ## 1.80.0
104
+
105
+ ## 1.79.0
55
106
 
56
- ## 2.0.0-beta.0
107
+ ## 1.78.0
57
108
 
58
- ### Major Changes
109
+ ## 1.77.0
59
110
 
60
- - be6c09d: ZERO-3114: Create beta version.
111
+ ## 1.76.0
61
112
 
62
113
  ## 1.75.0
63
114
 
@@ -4,6 +4,7 @@ const utils_1 = require("@typescript-eslint/utils");
4
4
  const CORRECT_PRE_ORDER_MIDDLEWARE_ORDER = [
5
5
  'shippingStepMiddleware',
6
6
  'installmentOptionMiddleware',
7
+ 'paymentOptionResetMiddleware',
7
8
  'paymentOptionMiddleware',
8
9
  'attributeBasedShippingOptionMiddleware',
9
10
  'dataSourceShippingOptionMiddleware',
@@ -74,7 +75,6 @@ exports.default = utils_1.ESLintUtils.RuleCreator.withoutDocs({
74
75
  type: 'problem',
75
76
  docs: {
76
77
  description: 'Enforces the correct order of pre-order middlewares',
77
- // @ts-expect-error
78
78
  recommended: 'error'
79
79
  },
80
80
  schema: [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akinon/eslint-plugin-projectzero",
3
- "version": "2.0.0-beta.12",
3
+ "version": "2.0.0-beta.14",
4
4
  "private": false,
5
5
  "description": "ESLint plugin for Project Zero Next",
6
6
  "main": "dist/index.js",
@@ -13,7 +13,7 @@
13
13
  "author": "",
14
14
  "license": "ISC",
15
15
  "devDependencies": {
16
- "@typescript-eslint/eslint-plugin": "8.18.2",
17
- "@typescript-eslint/parser": "8.18.2"
16
+ "@typescript-eslint/eslint-plugin": "5.44.0",
17
+ "@typescript-eslint/parser": "5.44.0"
18
18
  }
19
19
  }
@@ -8,6 +8,7 @@ import { RuleContext } from '@typescript-eslint/utils/dist/ts-eslint';
8
8
  const CORRECT_PRE_ORDER_MIDDLEWARE_ORDER = [
9
9
  'shippingStepMiddleware',
10
10
  'installmentOptionMiddleware',
11
+ 'paymentOptionResetMiddleware',
11
12
  'paymentOptionMiddleware',
12
13
  'attributeBasedShippingOptionMiddleware',
13
14
  'dataSourceShippingOptionMiddleware',
@@ -101,7 +102,6 @@ export default ESLintUtils.RuleCreator.withoutDocs({
101
102
  type: 'problem',
102
103
  docs: {
103
104
  description: 'Enforces the correct order of pre-order middlewares',
104
- // @ts-expect-error
105
105
  recommended: 'error'
106
106
  },
107
107
  schema: [],