Skip to content

Commit dfe2473

Browse files
committedJul 14, 2024··
chore: release 40.0.0
BREAKING CHANGE: enforce vue/max-attributes-per-line
1 parent 669e277 commit dfe2473

File tree

4 files changed

+169
-149
lines changed

4 files changed

+169
-149
lines changed
 

‎package-lock.json

+140-134
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+13-13
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nodecraft/eslint-config",
3-
"version": "39.0.0",
3+
"version": "40.0.0",
44
"description": "Nodecraft base JS ESLint config",
55
"keywords": [
66
"eslint",
@@ -25,32 +25,32 @@
2525
"lint:fix": "eslint . --fix"
2626
},
2727
"devDependencies": {
28-
"@stylistic/eslint-plugin": "^2.2.2",
29-
"@typescript-eslint/eslint-plugin": "^7.13.1",
30-
"@typescript-eslint/parser": "^7.13.1",
28+
"@stylistic/eslint-plugin": "^2.3.0",
29+
"@typescript-eslint/eslint-plugin": "^7.16.0",
30+
"@typescript-eslint/parser": "^7.16.0",
3131
"eslint": "^8.57.0",
3232
"eslint-plugin-import": "^2.29.1",
3333
"eslint-plugin-import-newlines": "^1.4.0",
3434
"eslint-plugin-json": "^4.0.0",
3535
"eslint-plugin-n": "^17.9.0",
3636
"eslint-plugin-unicorn": "^54.0.0",
37-
"eslint-plugin-vue": "^9.26.0",
38-
"eslint-plugin-vuejs-accessibility": "^2.3.0",
39-
"typescript": "^5.4.5"
37+
"eslint-plugin-vue": "^9.27.0",
38+
"eslint-plugin-vuejs-accessibility": "^2.3.1",
39+
"typescript": "^5.5.3"
4040
},
4141
"peerDependencies": {
42-
"@stylistic/eslint-plugin": "^2.2.2",
43-
"@typescript-eslint/eslint-plugin": "^7.13.1",
44-
"@typescript-eslint/parser": "^7.13.1",
42+
"@stylistic/eslint-plugin": "^2.3.0",
43+
"@typescript-eslint/eslint-plugin": "^7.16.0",
44+
"@typescript-eslint/parser": "^7.16.0",
4545
"eslint": "^8.57.0",
4646
"eslint-plugin-import": "^2.29.1",
4747
"eslint-plugin-import-newlines": "^1.4.0",
4848
"eslint-plugin-json": "^4.0.0",
4949
"eslint-plugin-n": "^17.9.0",
5050
"eslint-plugin-unicorn": "^54.0.0",
51-
"eslint-plugin-vue": "^9.26.0",
52-
"eslint-plugin-vuejs-accessibility": "^2.3.0",
53-
"typescript": "^5.4.5"
51+
"eslint-plugin-vue": "^9.27.0",
52+
"eslint-plugin-vuejs-accessibility": "^2.3.1",
53+
"typescript": "^5.5.3"
5454
},
5555
"peerDependenciesMeta": {
5656
"@typescript-eslint/eslint-plugin": {

‎rules/plugin-vue.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ module.exports = {
1212
}],
1313

1414
// Enforce the maximum number of attributes per line
15-
'vue/max-attributes-per-line': 'off',
15+
'vue/max-attributes-per-line': ['error', {
16+
singleline: {
17+
max: 1,
18+
},
19+
multiline: {
20+
max: 1,
21+
},
22+
}],
1623

1724
// Enforce v-bind directive style
1825
'vue/v-bind-style': ['error', 'longform'],

‎rules/plugin-vue3.js

+8-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,14 @@ module.exports = {
1212
}],
1313

1414
// Enforce the maximum number of attributes per line
15-
'vue/max-attributes-per-line': 'off',
15+
'vue/max-attributes-per-line': ['error', {
16+
singleline: {
17+
max: 1,
18+
},
19+
multiline: {
20+
max: 1,
21+
},
22+
}],
1623

1724
// Enforce v-bind directive style
1825
'vue/v-bind-style': ['error', 'longform'],

0 commit comments

Comments
 (0)
Please sign in to comment.