@frontify/eslint-config-basic 0.19.0-next.4 → 0.19.0-next.6
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/index.js +1 -10
- package/package.json +8 -8
package/index.js
CHANGED
|
@@ -63,15 +63,13 @@ module.exports = {
|
|
|
63
63
|
// the standard eslint rule for unused variables and use the @typescript-eslint rule instead.
|
|
64
64
|
// See here: https://typescript-eslint.io/rules/no-unused-vars/
|
|
65
65
|
'no-unused-vars': 'off',
|
|
66
|
-
'@typescript-eslint/no-unused-vars': 'error',
|
|
66
|
+
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
|
|
67
67
|
|
|
68
68
|
// Allow overload of functions: https://typescript-eslint.io/rules/no-dupe-class-members/
|
|
69
69
|
'no-dupe-class-members': 'off',
|
|
70
70
|
'@typescript-eslint/no-dupe-class-members': 'error',
|
|
71
71
|
|
|
72
72
|
'@typescript-eslint/no-explicit-any': 'warn',
|
|
73
|
-
'no-throw-literal': 'off',
|
|
74
|
-
'@typescript-eslint/no-throw-literal': 'error',
|
|
75
73
|
'no-implied-eval': 'off',
|
|
76
74
|
'@typescript-eslint/no-implied-eval': 'error',
|
|
77
75
|
'dot-notation': 'off',
|
|
@@ -87,7 +85,6 @@ module.exports = {
|
|
|
87
85
|
'@typescript-eslint/restrict-plus-operands': 'error',
|
|
88
86
|
'@typescript-eslint/restrict-template-expressions': 'error',
|
|
89
87
|
'@typescript-eslint/unbound-method': 'off',
|
|
90
|
-
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
|
|
91
88
|
'@typescript-eslint/consistent-type-imports': [
|
|
92
89
|
'error',
|
|
93
90
|
{ prefer: 'type-imports', fixStyle: 'inline-type-imports' },
|
|
@@ -256,16 +253,12 @@ module.exports = {
|
|
|
256
253
|
// Eslint prettier
|
|
257
254
|
'prettier/prettier': 'error',
|
|
258
255
|
'arrow-body-style': 'off', // Problematic with Prettier
|
|
259
|
-
'prefer-arrow-callback': 'off', // Problematic with Prettier
|
|
260
256
|
|
|
261
257
|
// Eslint (base)
|
|
262
258
|
'linebreak-style': ['error', 'unix'],
|
|
263
259
|
'prefer-template': 'error',
|
|
264
260
|
'template-curly-spacing': 'error',
|
|
265
|
-
'no-useless-concat': 'error',
|
|
266
|
-
'prefer-arrow-callback': 'error',
|
|
267
261
|
'no-var': 'error',
|
|
268
|
-
'prefer-const': 'error',
|
|
269
262
|
eqeqeq: 'error',
|
|
270
263
|
'no-eval': 'error',
|
|
271
264
|
'no-extra-bind': 'error',
|
|
@@ -287,9 +280,7 @@ module.exports = {
|
|
|
287
280
|
'no-case-declarations': 'error',
|
|
288
281
|
'no-multi-spaces': 'error',
|
|
289
282
|
'no-multi-str': 'error',
|
|
290
|
-
'no-with': 'error',
|
|
291
283
|
'no-void': 'error',
|
|
292
|
-
'no-useless-escape': 'off',
|
|
293
284
|
'no-invalid-this': 'error',
|
|
294
285
|
'require-await': 'off',
|
|
295
286
|
'no-return-assign': 'off',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontify/eslint-config-basic",
|
|
3
|
-
"version": "0.19.0-next.
|
|
3
|
+
"version": "0.19.0-next.6",
|
|
4
4
|
"author": "Frontify Developers <developers@frontify.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -20,24 +20,24 @@
|
|
|
20
20
|
"prettier": ">=3.0.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@typescript-eslint/eslint-plugin": "^6.
|
|
24
|
-
"@typescript-eslint/parser": "^6.
|
|
23
|
+
"@typescript-eslint/eslint-plugin": "^6.15.0",
|
|
24
|
+
"@typescript-eslint/parser": "^6.15.0",
|
|
25
25
|
"eslint-config-prettier": "^9.1.0",
|
|
26
26
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
27
27
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
28
|
-
"eslint-plugin-import": "^2.29.
|
|
29
|
-
"eslint-plugin-jsonc": "^2.
|
|
28
|
+
"eslint-plugin-import": "^2.29.1",
|
|
29
|
+
"eslint-plugin-jsonc": "^2.11.2",
|
|
30
30
|
"eslint-plugin-lodash": "^7.4.0",
|
|
31
31
|
"eslint-plugin-markdown": "^3.0.1",
|
|
32
32
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
33
|
-
"eslint-plugin-prettier": "^5.0
|
|
33
|
+
"eslint-plugin-prettier": "^5.1.0",
|
|
34
34
|
"eslint-plugin-promise": "^6.1.1",
|
|
35
35
|
"eslint-plugin-unicorn": "^49.0.0",
|
|
36
|
-
"eslint-plugin-yml": "^1.
|
|
36
|
+
"eslint-plugin-yml": "^1.11.0",
|
|
37
37
|
"yaml-eslint-parser": "^1.2.2"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
|
-
"eslint": "^8.
|
|
40
|
+
"eslint": "^8.56.0",
|
|
41
41
|
"prettier": "^3.1.1"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|