@frontify/eslint-config-basic 0.20.4 → 0.20.5
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 -14
- package/package.json +4 -6
package/index.js
CHANGED
|
@@ -7,7 +7,7 @@ module.exports = {
|
|
|
7
7
|
browser: true,
|
|
8
8
|
node: true,
|
|
9
9
|
},
|
|
10
|
-
plugins: ['@typescript-eslint', '
|
|
10
|
+
plugins: ['@typescript-eslint', 'unicorn', 'no-only-tests', 'promise', 'lodash', 'prettier'],
|
|
11
11
|
extends: [
|
|
12
12
|
'eslint:recommended',
|
|
13
13
|
'plugin:@typescript-eslint/recommended',
|
|
@@ -121,19 +121,6 @@ module.exports = {
|
|
|
121
121
|
'yml/indent': ['error', 4, { indicatorValueIndent: 2 }],
|
|
122
122
|
},
|
|
123
123
|
},
|
|
124
|
-
{
|
|
125
|
-
files: ['*.html'],
|
|
126
|
-
parser: '@html-eslint/parser',
|
|
127
|
-
extends: ['plugin:@typescript-eslint/disable-type-checked', 'plugin:@html-eslint/recommended'],
|
|
128
|
-
rules: {
|
|
129
|
-
'prettier/prettier': ['error', { parser: 'html' }],
|
|
130
|
-
'@html-eslint/indent': ['error', 4],
|
|
131
|
-
'@html-eslint/no-extra-spacing-attrs': ['error', { enforceBeforeSelfClose: true }],
|
|
132
|
-
// Conflict with Prettier
|
|
133
|
-
'@html-eslint/require-closing-tags': 'off',
|
|
134
|
-
'spaced-comment': 'off',
|
|
135
|
-
},
|
|
136
|
-
},
|
|
137
124
|
{
|
|
138
125
|
files: ['package.json'],
|
|
139
126
|
parser: 'jsonc-eslint-parser',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontify/eslint-config-basic",
|
|
3
|
-
"version": "0.20.
|
|
3
|
+
"version": "0.20.5",
|
|
4
4
|
"author": "Frontify Developers <developers@frontify.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -16,12 +16,10 @@
|
|
|
16
16
|
"access": "public"
|
|
17
17
|
},
|
|
18
18
|
"peerDependencies": {
|
|
19
|
-
"eslint": "
|
|
20
|
-
"prettier": "
|
|
19
|
+
"eslint": "^8.56.0",
|
|
20
|
+
"prettier": "^3.0.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@html-eslint/eslint-plugin": "^0.24.0",
|
|
24
|
-
"@html-eslint/parser": "^0.24.0",
|
|
25
23
|
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
26
24
|
"@typescript-eslint/parser": "^7.4.0",
|
|
27
25
|
"eslint-config-prettier": "^9.1.0",
|
|
@@ -34,7 +32,7 @@
|
|
|
34
32
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
35
33
|
"eslint-plugin-prettier": "^5.1.3",
|
|
36
34
|
"eslint-plugin-promise": "^6.1.1",
|
|
37
|
-
"eslint-plugin-unicorn": "^51.0.
|
|
35
|
+
"eslint-plugin-unicorn": "^51.0.1",
|
|
38
36
|
"eslint-plugin-yml": "^1.13.2",
|
|
39
37
|
"yaml-eslint-parser": "^1.2.2"
|
|
40
38
|
},
|