eslint-config-seek 14.5.3 → 14.7.0-master-20251112032213
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/base.d.ts +4 -0
- package/base.js +23 -0
- package/extensions.d.ts +2 -0
- package/index.d.ts +4 -0
- package/package.json +10 -8
package/base.d.ts
ADDED
package/base.js
CHANGED
|
@@ -63,6 +63,29 @@ const baseRules = {
|
|
|
63
63
|
'no-path-concat': ERROR,
|
|
64
64
|
'no-process-exit': ERROR,
|
|
65
65
|
'no-restricted-modules': ERROR,
|
|
66
|
+
'no-restricted-syntax': [
|
|
67
|
+
ERROR,
|
|
68
|
+
{
|
|
69
|
+
selector: 'MethodDefinition[kind = "get"]',
|
|
70
|
+
message:
|
|
71
|
+
'Custom getters can cause confusion, particularly if they throw errors. Remove the `get` syntax to specify a regular method instead.',
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
selector: 'MethodDefinition[kind = "set"]',
|
|
75
|
+
message:
|
|
76
|
+
'Custom setters can cause confusion, particularly if they throw errors. Remove the `set` syntax to specify a regular method instead.',
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
selector: 'Property[kind = "get"]',
|
|
80
|
+
message:
|
|
81
|
+
'Custom getters can cause confusion, particularly if they throw errors. Remove the `get` syntax to specify a regular property instead.',
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
selector: 'Property[kind = "set"]',
|
|
85
|
+
message:
|
|
86
|
+
'Custom setters can cause confusion, particularly if they throw errors. Remove the `set` syntax to specify a regular property instead.',
|
|
87
|
+
},
|
|
88
|
+
],
|
|
66
89
|
'no-sync': ERROR,
|
|
67
90
|
'linebreak-style': [ERROR, 'unix'],
|
|
68
91
|
'new-cap': ERROR,
|
package/extensions.d.ts
ADDED
package/index.d.ts
ADDED
package/package.json
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-seek",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.7.0-master-20251112032213",
|
|
4
4
|
"description": "ESLint configuration used by SEEK",
|
|
5
5
|
"main": "index.js",
|
|
6
|
+
"types": "index.d.ts",
|
|
6
7
|
"files": [
|
|
7
8
|
"index.js",
|
|
9
|
+
"index.d.ts",
|
|
8
10
|
"base.js",
|
|
9
|
-
"
|
|
11
|
+
"base.d.ts",
|
|
12
|
+
"extensions.js",
|
|
13
|
+
"extensions.d.ts"
|
|
10
14
|
],
|
|
11
15
|
"repository": {
|
|
12
16
|
"type": "git",
|
|
@@ -19,7 +23,6 @@
|
|
|
19
23
|
},
|
|
20
24
|
"homepage": "https://github.com/seek-oss/eslint-config-seek#readme",
|
|
21
25
|
"dependencies": {
|
|
22
|
-
"typescript-eslint": "^8.6.0",
|
|
23
26
|
"eslint-config-prettier": "^10.0.0",
|
|
24
27
|
"eslint-import-resolver-typescript": "^4.0.0",
|
|
25
28
|
"eslint-plugin-cypress": "^5.0.0",
|
|
@@ -27,14 +30,16 @@
|
|
|
27
30
|
"eslint-plugin-jest": "^29.0.0",
|
|
28
31
|
"eslint-plugin-react": "^7.35.0",
|
|
29
32
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
30
|
-
"globals": "^16.0.0"
|
|
33
|
+
"globals": "^16.0.0",
|
|
34
|
+
"typescript-eslint": "^8.6.0"
|
|
31
35
|
},
|
|
32
36
|
"devDependencies": {
|
|
33
37
|
"@changesets/cli": "^2.27.7",
|
|
34
38
|
"@changesets/get-github-info": "^0.6.0",
|
|
39
|
+
"@tsconfig/node22": "^22.0.2",
|
|
35
40
|
"eslint": "^9.8.0",
|
|
36
41
|
"prettier": "^3.3.3",
|
|
37
|
-
"typescript": "~5.
|
|
42
|
+
"typescript": "~5.9.0"
|
|
38
43
|
},
|
|
39
44
|
"peerDependencies": {
|
|
40
45
|
"eslint": ">=9.9.1",
|
|
@@ -43,9 +48,6 @@
|
|
|
43
48
|
"engines": {
|
|
44
49
|
"node": ">=18.18.0"
|
|
45
50
|
},
|
|
46
|
-
"volta": {
|
|
47
|
-
"node": "22.16.0"
|
|
48
|
-
},
|
|
49
51
|
"scripts": {
|
|
50
52
|
"release": "changeset publish",
|
|
51
53
|
"test": "eslint --config index.js . && eslint --config base.js .",
|