@keeex/eslint-config 1.10.1 → 1.11.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/LICENSE CHANGED
@@ -1,19 +1,9 @@
1
- Copyright 2021 KeeeX SAS
1
+ MIT License
2
2
 
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of
4
- this software and associated documentation files (the "Software"), to deal in
5
- the Software without restriction, including without limitation the rights to
6
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
7
- of the Software, and to permit persons to whom the Software is furnished to do
8
- so, subject to the following conditions:
3
+ Copyright (c) 2023 KeeeX SAS
9
4
 
10
- The above copyright notice and this permission notice shall be included in all
11
- copies or substantial portions of the Software.
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
12
6
 
13
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
19
- SOFTWARE.
7
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
8
+
9
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@keeex/eslint-config",
3
3
  "description": "Common eslint configuration",
4
- "version": "1.10.1",
4
+ "version": "1.11.1",
5
5
  "main": "src/index.js",
6
6
  "files": [
7
7
  "src/**/*.js"
@@ -24,7 +24,7 @@
24
24
  ],
25
25
  "license": "MIT",
26
26
  "devDependencies": {
27
- "eslint": "^8.40.0",
27
+ "eslint": "^8.44.0",
28
28
  "eslint-plugin-import": "^2.27.5",
29
29
  "eslint-plugin-promise": "^6.1.1"
30
30
  },
@@ -63,6 +63,7 @@ const rulesBase = {
63
63
  "ignoreComments": true,
64
64
  },
65
65
  ],
66
+ "@typescript-eslint/member-delimiter-style": ["warn"],
66
67
  "@typescript-eslint/member-ordering": [
67
68
  "warn",
68
69
  {
@@ -74,6 +75,7 @@ const rulesBase = {
74
75
  "public-static-field",
75
76
  "protected-static-field",
76
77
  "private-static-field",
78
+ "#private-static-field",
77
79
 
78
80
  "public-decorated-field",
79
81
  "protected-decorated-field",
@@ -82,6 +84,7 @@ const rulesBase = {
82
84
  "public-instance-field",
83
85
  "protected-instance-field",
84
86
  "private-instance-field",
87
+ "#private-instance-field",
85
88
 
86
89
  "public-abstract-field",
87
90
  "protected-abstract-field",
@@ -89,6 +92,7 @@ const rulesBase = {
89
92
  "public-field",
90
93
  "protected-field",
91
94
  "private-field",
95
+ "#private-field",
92
96
 
93
97
  "static-field",
94
98
  "instance-field",
@@ -99,6 +103,7 @@ const rulesBase = {
99
103
  "field",
100
104
 
101
105
  // Constructors
106
+ "static-initialization",
102
107
  "public-constructor",
103
108
  "protected-constructor",
104
109
  "private-constructor",
@@ -109,6 +114,7 @@ const rulesBase = {
109
114
  ["public-static-get", "public-static-set"],
110
115
  ["protected-static-get", "protected-static-set"],
111
116
  ["private-static-get", "private-static-set"],
117
+ ["#private-static-get", "#private-static-set"],
112
118
 
113
119
  ["public-decorated-get", "public-decorated-set"],
114
120
  ["protected-decorated-get", "protected-decorated-set"],
@@ -117,6 +123,7 @@ const rulesBase = {
117
123
  ["public-instance-get", "public-instance-set"],
118
124
  ["protected-instance-get", "protected-instance-set"],
119
125
  ["private-instance-get", "private-instance-set"],
126
+ ["#private-instance-get", "#private-instance-set"],
120
127
 
121
128
  ["public-abstract-get", "public-abstract-set"],
122
129
  ["protected-abstract-get", "protected-abstract-set"],
@@ -124,6 +131,7 @@ const rulesBase = {
124
131
  ["public-get", "public-set"],
125
132
  ["protected-get", "protected-set"],
126
133
  ["private-get", "private-set"],
134
+ ["#private-get", "#private-set"],
127
135
 
128
136
  ["static-get", "static-set"],
129
137
  ["instance-get", "instance-set"],
@@ -137,6 +145,7 @@ const rulesBase = {
137
145
  "public-static-method",
138
146
  "protected-static-method",
139
147
  "private-static-method",
148
+ "#private-static-method",
140
149
 
141
150
  "public-decorated-method",
142
151
  "protected-decorated-method",
@@ -145,6 +154,7 @@ const rulesBase = {
145
154
  "public-instance-method",
146
155
  "protected-instance-method",
147
156
  "private-instance-method",
157
+ "#private-instance-method",
148
158
 
149
159
  "public-abstract-method",
150
160
  "protected-abstract-method",
@@ -152,6 +162,7 @@ const rulesBase = {
152
162
  "public-method",
153
163
  "protected-method",
154
164
  "private-method",
165
+ "#private-method",
155
166
 
156
167
  "static-method",
157
168
  "instance-method",