@frontify/eslint-config-basic 0.19.0-next.2 → 0.19.0-next.4
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 +17 -3
- package/package.json +3 -3
package/index.js
CHANGED
|
@@ -10,8 +10,10 @@ module.exports = {
|
|
|
10
10
|
plugins: ['@typescript-eslint', 'unicorn', 'no-only-tests', 'promise', 'lodash', 'prettier'],
|
|
11
11
|
extends: [
|
|
12
12
|
'eslint:recommended',
|
|
13
|
+
'plugin:@typescript-eslint/recommended',
|
|
14
|
+
'plugin:@typescript-eslint/recommended-type-checked',
|
|
13
15
|
'plugin:eslint-comments/recommended',
|
|
14
|
-
'plugin:jsonc/recommended-with-
|
|
16
|
+
'plugin:jsonc/recommended-with-json',
|
|
15
17
|
'plugin:yml/standard',
|
|
16
18
|
'plugin:markdown/recommended',
|
|
17
19
|
'plugin:import/recommended',
|
|
@@ -87,14 +89,15 @@ module.exports = {
|
|
|
87
89
|
'@typescript-eslint/unbound-method': 'off',
|
|
88
90
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_', varsIgnorePattern: '^_' }],
|
|
89
91
|
'@typescript-eslint/consistent-type-imports': [
|
|
90
|
-
'
|
|
92
|
+
'error',
|
|
91
93
|
{ prefer: 'type-imports', fixStyle: 'inline-type-imports' },
|
|
92
94
|
],
|
|
93
95
|
'@typescript-eslint/no-misused-promises': [2, { checksVoidReturn: { attributes: false } }],
|
|
94
96
|
},
|
|
95
97
|
},
|
|
96
98
|
{
|
|
97
|
-
files: ['*.json'
|
|
99
|
+
files: ['*.json'],
|
|
100
|
+
extends: ['plugin:@typescript-eslint/disable-type-checked'],
|
|
98
101
|
parser: 'jsonc-eslint-parser',
|
|
99
102
|
rules: {
|
|
100
103
|
quotes: ['error', 'double'],
|
|
@@ -124,6 +127,7 @@ module.exports = {
|
|
|
124
127
|
{
|
|
125
128
|
files: ['package.json'],
|
|
126
129
|
parser: 'jsonc-eslint-parser',
|
|
130
|
+
extends: ['plugin:@typescript-eslint/disable-type-checked'],
|
|
127
131
|
rules: {
|
|
128
132
|
'jsonc/sort-keys': [
|
|
129
133
|
'error',
|
|
@@ -212,6 +216,14 @@ module.exports = {
|
|
|
212
216
|
'*.spec.tsx',
|
|
213
217
|
'*.spec.js',
|
|
214
218
|
'*.spec.jsx',
|
|
219
|
+
'*.spec.cy.ts',
|
|
220
|
+
'*.spec.cy.tsx',
|
|
221
|
+
'*.spec.cy.js',
|
|
222
|
+
'*.spec.cy.jsx',
|
|
223
|
+
'*.spec.ct.ts',
|
|
224
|
+
'*.spec.ct.tsx',
|
|
225
|
+
'*.spec.ct.js',
|
|
226
|
+
'*.spec.ct.jsx',
|
|
215
227
|
],
|
|
216
228
|
rules: {
|
|
217
229
|
'no-unused-expressions': 'off',
|
|
@@ -345,6 +357,8 @@ module.exports = {
|
|
|
345
357
|
'import/exports-last': 'off',
|
|
346
358
|
'import/no-namespace': 'off',
|
|
347
359
|
'import/extensions': 'off',
|
|
360
|
+
'import/namespace': 'off',
|
|
361
|
+
'import/default': 'off',
|
|
348
362
|
'import/order': [
|
|
349
363
|
'error',
|
|
350
364
|
{
|
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.4",
|
|
4
4
|
"author": "Frontify Developers <developers@frontify.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -20,8 +20,8 @@
|
|
|
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.14.0",
|
|
24
|
+
"@typescript-eslint/parser": "^6.14.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",
|