@frontify/eslint-config-basic 1.0.2 → 1.0.3
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/eslint.config.mjs +1 -3
- package/package.json +7 -8
package/eslint.config.mjs
CHANGED
|
@@ -17,7 +17,6 @@ import eslintPluginNoOnlyTests from 'eslint-plugin-no-only-tests';
|
|
|
17
17
|
import eslintPluginPrettierRecommended from 'eslint-plugin-prettier/recommended';
|
|
18
18
|
// @ts-expect-error No types available
|
|
19
19
|
import eslintPluginPromise from 'eslint-plugin-promise';
|
|
20
|
-
import eslintPluginRegexp from 'eslint-plugin-regexp';
|
|
21
20
|
import eslintPluginUnicorn from 'eslint-plugin-unicorn';
|
|
22
21
|
import eslintPluginYml from 'eslint-plugin-yml';
|
|
23
22
|
import globals from 'globals';
|
|
@@ -28,7 +27,6 @@ export default tseslint.config(
|
|
|
28
27
|
tseslint.configs.recommendedTypeChecked,
|
|
29
28
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
|
|
30
29
|
eslintPluginPromise.configs['flat/recommended'],
|
|
31
|
-
eslintPluginRegexp.configs['flat/recommended'],
|
|
32
30
|
// eslint-disable-next-line @typescript-eslint/no-unsafe-argument, @typescript-eslint/no-unsafe-member-access
|
|
33
31
|
eslintPluginComments.recommended,
|
|
34
32
|
eslintPluginJsonc.configs['flat/recommended-with-json'],
|
|
@@ -307,7 +305,7 @@ export default tseslint.config(
|
|
|
307
305
|
},
|
|
308
306
|
{
|
|
309
307
|
// package.json rules
|
|
310
|
-
files: ['package.json'],
|
|
308
|
+
files: ['**/package.json'],
|
|
311
309
|
extends: [tseslint.configs.disableTypeChecked],
|
|
312
310
|
rules: {
|
|
313
311
|
'jsonc/sort-keys': [
|
package/package.json
CHANGED
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontify/eslint-config-basic",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.3",
|
|
5
5
|
"author": "Frontify Developers <developers@frontify.com>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": {
|
|
8
|
+
"directory": "packages/basic",
|
|
8
9
|
"type": "git",
|
|
9
|
-
"url": "https://github.com/Frontify/eslint-config"
|
|
10
|
-
"directory": "packages/basic"
|
|
11
|
-
},
|
|
12
|
-
"publishConfig": {
|
|
13
|
-
"access": "public"
|
|
10
|
+
"url": "https://github.com/Frontify/eslint-config"
|
|
14
11
|
},
|
|
15
12
|
"main": "eslint.config.mjs",
|
|
16
13
|
"files": [
|
|
@@ -35,7 +32,6 @@
|
|
|
35
32
|
"eslint-plugin-no-only-tests": "^3.3.0",
|
|
36
33
|
"eslint-plugin-prettier": "^5.5.4",
|
|
37
34
|
"eslint-plugin-promise": "^7.2.1",
|
|
38
|
-
"eslint-plugin-regexp": "^2.10.0",
|
|
39
35
|
"eslint-plugin-unicorn": "^60.0.0",
|
|
40
36
|
"eslint-plugin-yml": "^1.18.0",
|
|
41
37
|
"globals": "^16.3.0",
|
|
@@ -43,10 +39,13 @@
|
|
|
43
39
|
"yaml-eslint-parser": "^1.3.0"
|
|
44
40
|
},
|
|
45
41
|
"devDependencies": {
|
|
46
|
-
"eslint": "^9.
|
|
42
|
+
"eslint": "^9.33.0",
|
|
47
43
|
"prettier": "^3.6.2",
|
|
48
44
|
"typescript": "^5.9.2"
|
|
49
45
|
},
|
|
46
|
+
"publishConfig": {
|
|
47
|
+
"access": "public"
|
|
48
|
+
},
|
|
50
49
|
"scripts": {
|
|
51
50
|
"lint": "eslint ."
|
|
52
51
|
}
|