@frontify/eslint-config-basic 0.19.0 → 0.20.0
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 +13 -1
- package/package.json +12 -10
package/index.js
CHANGED
|
@@ -7,7 +7,7 @@ module.exports = {
|
|
|
7
7
|
browser: true,
|
|
8
8
|
node: true,
|
|
9
9
|
},
|
|
10
|
-
plugins: ['@typescript-eslint', 'unicorn', 'no-only-tests', 'promise', 'lodash', 'prettier'],
|
|
10
|
+
plugins: ['@typescript-eslint', '@html-eslint', 'unicorn', 'no-only-tests', 'promise', 'lodash', 'prettier'],
|
|
11
11
|
extends: [
|
|
12
12
|
'eslint:recommended',
|
|
13
13
|
'plugin:@typescript-eslint/recommended',
|
|
@@ -121,6 +121,18 @@ 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
|
+
},
|
|
135
|
+
},
|
|
124
136
|
{
|
|
125
137
|
files: ['package.json'],
|
|
126
138
|
parser: 'jsonc-eslint-parser',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontify/eslint-config-basic",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.0",
|
|
4
4
|
"author": "Frontify Developers <developers@frontify.com>",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -20,25 +20,27 @@
|
|
|
20
20
|
"prettier": ">=3.0.0"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@
|
|
24
|
-
"@
|
|
23
|
+
"@html-eslint/eslint-plugin": "^0.24.0",
|
|
24
|
+
"@html-eslint/parser": "^0.24.0",
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
|
26
|
+
"@typescript-eslint/parser": "^7.4.0",
|
|
25
27
|
"eslint-config-prettier": "^9.1.0",
|
|
26
28
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
27
29
|
"eslint-plugin-eslint-comments": "^3.2.0",
|
|
28
30
|
"eslint-plugin-import": "^2.29.1",
|
|
29
|
-
"eslint-plugin-jsonc": "^2.
|
|
31
|
+
"eslint-plugin-jsonc": "^2.14.1",
|
|
30
32
|
"eslint-plugin-lodash": "^7.4.0",
|
|
31
|
-
"eslint-plugin-markdown": "^
|
|
33
|
+
"eslint-plugin-markdown": "^4.0.1",
|
|
32
34
|
"eslint-plugin-no-only-tests": "^3.1.0",
|
|
33
|
-
"eslint-plugin-prettier": "^5.1.
|
|
35
|
+
"eslint-plugin-prettier": "^5.1.3",
|
|
34
36
|
"eslint-plugin-promise": "^6.1.1",
|
|
35
|
-
"eslint-plugin-unicorn": "^
|
|
36
|
-
"eslint-plugin-yml": "^1.
|
|
37
|
+
"eslint-plugin-unicorn": "^50.0.1",
|
|
38
|
+
"eslint-plugin-yml": "^1.13.2",
|
|
37
39
|
"yaml-eslint-parser": "^1.2.2"
|
|
38
40
|
},
|
|
39
41
|
"devDependencies": {
|
|
40
|
-
"eslint": "^8.
|
|
41
|
-
"prettier": "^3.
|
|
42
|
+
"eslint": "^8.57.0",
|
|
43
|
+
"prettier": "^3.2.5"
|
|
42
44
|
},
|
|
43
45
|
"scripts": {
|
|
44
46
|
"lint": "eslint . --config=index.js"
|