Skip to content

Commit daae91a

Browse files
committed
[eslint-config] Allow single-word component names in pages folder
1 parent 7c2b74f commit daae91a

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

packages/eslint-config/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@byscripts/eslint-config",
3-
"version": "0.6.0",
3+
"version": "0.7.0",
44
"repository": {
55
"url": "https://github.com/ByScripts/toolbox"
66
},

packages/eslint-config/src/vue.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,4 +112,10 @@ export default defineConfigWithVueTs(
112112
"vue/v-on-handler-style": ["error", ["method", "inline-function"]],
113113
},
114114
},
115+
{
116+
files: ["*/pages/**/*.vue"],
117+
rules: {
118+
"vue/multi-word-component-names": "off",
119+
}
120+
}
115121
);

0 commit comments

Comments
 (0)