@akinon/eslint-plugin-projectzero 2.0.0-beta.9 → 2.0.0

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,45 +1,148 @@
1
1
  # @akinon/eslint-plugin-projectzero
2
2
 
3
- ## 2.0.0-beta.9
3
+ ## 2.0.0
4
+
5
+ ## 2.0.0-beta.27
6
+
7
+ ## 2.0.0-beta.26
8
+
9
+ ## 2.0.0-beta.25
10
+
11
+ ## 2.0.0-beta.24
12
+
13
+ ## 2.0.0-beta.23
14
+
15
+ ## 2.0.0-beta.22
16
+
17
+ ## 2.0.0-beta.21
18
+
19
+ ## 2.0.0-beta.20
20
+
21
+ ## 1.126.0
22
+
23
+ ## 1.125.2
24
+
25
+ ## 1.125.1
26
+
27
+ ## 1.125.0
28
+
29
+ ## 1.124.0
30
+
31
+ ## 1.123.0
32
+
33
+ ## 1.122.0
34
+
35
+ ## 1.121.0
36
+
37
+ ## 1.120.0
38
+
39
+ ## 1.119.0
40
+
41
+ ## 1.118.0
42
+
43
+ ## 1.117.0
44
+
45
+ ## 1.116.0
46
+
47
+ ## 1.115.0
48
+
49
+ ## 1.114.0
50
+
51
+ ## 1.113.0
52
+
53
+ ## 1.112.0
54
+
55
+ ## 1.111.0
56
+
57
+ ## 1.110.0
58
+
59
+ ## 1.109.0
60
+
61
+ ## 1.108.0
62
+
63
+ ## 1.107.0
64
+
65
+ ## 1.106.0
66
+
67
+ ## 1.105.0
4
68
 
5
69
  ### Minor Changes
6
70
 
7
- - 0fe7711: ZERO-3387: Upgrade nextjs, eslint-config-next
71
+ - 62779ee: ZERO-3668: Refactor check-menu-depth rule to simplify depth validation logic and remove unused error messages
72
+
73
+ ## 1.104.0
74
+
75
+ ## 1.103.0
8
76
 
9
- ## 2.0.0-beta.8
77
+ ## 1.102.0
10
78
 
11
- ## 2.0.0-beta.7
79
+ ## 1.101.0
12
80
 
13
- ## 2.0.0-beta.6
81
+ ## 1.100.0
14
82
 
15
83
  ### Minor Changes
16
84
 
17
- - 8f05f9b: ZERO-3250: Beta branch synchronized with Main branch
85
+ - e57cd93: ZERO-3460: prevent installment loop on payment method switch
18
86
 
19
- ## 2.0.0-beta.5
87
+ ## 1.99.0
20
88
 
21
- ## 2.0.0-beta.4
89
+ ### Minor Changes
90
+
91
+ - d58538b: ZERO-3638: Enhance RC pipeline: add fetch, merge, and pre-release setup with conditional commit
92
+
93
+ ## 1.98.0
22
94
 
23
- ## 2.0.0-beta.3
95
+ ## 1.97.0
24
96
 
25
- ## 2.0.0-beta.2
97
+ ## 1.96.0
98
+
99
+ ## 1.95.0
26
100
 
27
101
  ### Minor Changes
28
102
 
29
- - a006015: ZERO-3116: Add not-found page and update default middleware.
30
- - 1eeb3d8: ZERO-3116: Add not found page
103
+ - 3b47394: ZERO-3582: Enhance check-menu-depth rule to enforce depth parameter in getMenu calls and add corresponding error messages
104
+
105
+ ## 1.94.0
106
+
107
+ ## 1.93.0
31
108
 
32
- ## 2.0.0-beta.1
109
+ ## 1.92.0
110
+
111
+ ## 1.91.0
112
+
113
+ ## 1.90.0
114
+
115
+ ## 1.89.0
116
+
117
+ ## 1.88.0
118
+
119
+ ## 1.87.0
120
+
121
+ ## 1.86.0
122
+
123
+ ## 1.85.0
33
124
 
34
125
  ### Minor Changes
35
126
 
36
- - ZERO-3091: Upgrade Next.js to v15 and React to v19
127
+ - 443ea19: ZERO-3254: Add ESLint rule to enforce correct order of pre-order middlewares
128
+
129
+ ## 1.84.0
130
+
131
+ ## 1.83.0
132
+
133
+ ## 1.82.0
134
+
135
+ ## 1.81.0
136
+
137
+ ## 1.80.0
138
+
139
+ ## 1.79.0
37
140
 
38
- ## 2.0.0-beta.0
141
+ ## 1.78.0
39
142
 
40
- ### Major Changes
143
+ ## 1.77.0
41
144
 
42
- - be6c09d: ZERO-3114: Create beta version.
145
+ ## 1.76.0
43
146
 
44
147
  ## 1.75.0
45
148
 
@@ -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.9",
3
+ "version": "2.0.0",
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: [],