@favorodera/eslint-config 1.0.2 → 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
|
@@ -96,7 +96,6 @@ function disables() {
|
|
|
96
96
|
{
|
|
97
97
|
files: [mdGlob],
|
|
98
98
|
ignores: [mdInMdGlob],
|
|
99
|
-
languageOptions: { frontmatter: "yaml" },
|
|
100
99
|
name: "favorodera/disables/markdown",
|
|
101
100
|
rules: { "md/no-missing-atx-heading-space": "off" }
|
|
102
101
|
},
|
|
@@ -115,6 +114,7 @@ function disables() {
|
|
|
115
114
|
"no-unused-labels": "off",
|
|
116
115
|
"no-unused-vars": "off",
|
|
117
116
|
"unicode-bom": "off",
|
|
117
|
+
"node/no-extraneous-import": "off",
|
|
118
118
|
"node/prefer-global/process": "off",
|
|
119
119
|
"style/comma-dangle": "off",
|
|
120
120
|
"style/eol-last": "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>",
|