@favorodera/eslint-config 1.0.3 → 1.0.4
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/dist/index.mjs +11 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -114,8 +114,8 @@ function disables() {
|
|
|
114
114
|
"no-unused-labels": "off",
|
|
115
115
|
"no-unused-vars": "off",
|
|
116
116
|
"unicode-bom": "off",
|
|
117
|
-
"node/prefer-global/process": "off",
|
|
118
117
|
"node/no-extraneous-import": "off",
|
|
118
|
+
"node/prefer-global/process": "off",
|
|
119
119
|
"style/comma-dangle": "off",
|
|
120
120
|
"style/eol-last": "off",
|
|
121
121
|
"style/line-comment-position": "off",
|
|
@@ -1367,8 +1367,17 @@ async function vue(options) {
|
|
|
1367
1367
|
name: "favorodera/vue/a11y/rules",
|
|
1368
1368
|
rules: {
|
|
1369
1369
|
...a11yRules,
|
|
1370
|
+
"vue-a11y/form-control-has-label": ["error", {
|
|
1371
|
+
controlComponents: [],
|
|
1372
|
+
labelComponents: []
|
|
1373
|
+
}],
|
|
1374
|
+
"vue-a11y/label-has-for": ["error", {
|
|
1375
|
+
allowChildren: true,
|
|
1376
|
+
components: [],
|
|
1377
|
+
controlComponents: [],
|
|
1378
|
+
required: { some: ["nesting", "id"] }
|
|
1379
|
+
}],
|
|
1370
1380
|
"vue-a11y/no-aria-hidden-on-focusable": "error",
|
|
1371
|
-
"vue-a11y/no-onchange": "error",
|
|
1372
1381
|
"vue-a11y/no-role-presentation-on-focusable": "error"
|
|
1373
1382
|
}
|
|
1374
1383
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@favorodera/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.4",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Opinionated, type-safe flat ESLint configuration factory for Vue, TypeScript, Tailwind, and more.",
|
|
7
7
|
"author": "Favour Emeka <favorodera@gmail.com>",
|