@d-kuehn/eslint-config 22.2.2 → 22.3.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/README.md +2 -2
- package/dist/index.js +2 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -62,10 +62,10 @@ export default combine(
|
|
|
62
62
|
| --------------------------------------------------------------------------------------------------------- | ------------------------------ | ------------------------------------------------- |
|
|
63
63
|
| [jsxA11y() v6.10.2](https://github.com/jsx-eslint/eslint-plugin-jsx-a11y) | A11Y | `.jsx`, `.tsx`, `.astro` |
|
|
64
64
|
| [importX() v4.16.1](https://github.com/un-ts/eslint-plugin-import-x) | ES6+ import/export syntax | All JavaScript/TypeScript files, `.vue` |
|
|
65
|
-
| [jsdoc() v54.
|
|
65
|
+
| [jsdoc() v54.7.0](https://github.com/gajus/eslint-plugin-jsdoc) | JSDoc comments validation | All JavaScript/TypeScript files |
|
|
66
66
|
| [jsonc() v2.20.1](https://github.com/ota-meshi/eslint-plugin-jsonc) | JSON validation and formatting | `.json`, `.jsonc`, `.json5` |
|
|
67
67
|
| [regexp() v2.10.0](https://github.com/ota-meshi/eslint-plugin-regexp) | Regular expressions validation | All JavaScript/TypeScript files, `.vue` |
|
|
68
|
-
| [unicorn() v61.0.
|
|
68
|
+
| [unicorn() v61.0.2](https://github.com/sindresorhus/eslint-plugin-unicorn) | Additional JavaScript rules | All JavaScript/TypeScript files, `.vue`, `.astro` |
|
|
69
69
|
| [perfectionist() v4.15.0](https://github.com/azat-io/eslint-plugin-perfectionist) | Consistent code organization | All JavaScript/TypeScript files, `.vue` |
|
|
70
70
|
|
|
71
71
|
### Framework Support
|
package/dist/index.js
CHANGED
|
@@ -43,8 +43,7 @@ const interopDefault = async (module_) => {
|
|
|
43
43
|
* );
|
|
44
44
|
*/
|
|
45
45
|
const combine = async (...configs) => {
|
|
46
|
-
|
|
47
|
-
return resolved.flat();
|
|
46
|
+
return (await Promise.all(configs)).flat();
|
|
48
47
|
};
|
|
49
48
|
|
|
50
49
|
//#endregion
|
|
@@ -1010,9 +1009,8 @@ const testingLibrary = async (options = {}) => {
|
|
|
1010
1009
|
* @returns {Linter.LanguageOptions} - merged language options
|
|
1011
1010
|
*/
|
|
1012
1011
|
const createLanguageOptions = async (options = {}) => {
|
|
1013
|
-
const parserTs = await interopDefault(import("@typescript-eslint/parser"));
|
|
1014
1012
|
const defaultOptions = {
|
|
1015
|
-
parser:
|
|
1013
|
+
parser: await interopDefault(import("@typescript-eslint/parser")),
|
|
1016
1014
|
parserOptions: {
|
|
1017
1015
|
extraFileExtensions: [".vue"],
|
|
1018
1016
|
projectService: { defaultProject: "./tsconfig.json" },
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d-kuehn/eslint-config",
|
|
3
|
-
"version": "22.
|
|
3
|
+
"version": "22.3.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"eslint-plugin-astro": "1.3.1",
|
|
41
41
|
"eslint-plugin-better-tailwindcss": "3.7.7",
|
|
42
42
|
"eslint-plugin-import-x": "4.16.1",
|
|
43
|
-
"eslint-plugin-jsdoc": "54.
|
|
43
|
+
"eslint-plugin-jsdoc": "54.7.0",
|
|
44
44
|
"eslint-plugin-jsonc": "2.20.1",
|
|
45
45
|
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
46
46
|
"eslint-plugin-perfectionist": "4.15.0",
|
|
@@ -48,7 +48,7 @@
|
|
|
48
48
|
"eslint-plugin-regexp": "2.10.0",
|
|
49
49
|
"eslint-plugin-storybook": "9.1.5",
|
|
50
50
|
"eslint-plugin-testing-library": "7.6.8",
|
|
51
|
-
"eslint-plugin-unicorn": "61.0.
|
|
51
|
+
"eslint-plugin-unicorn": "61.0.2",
|
|
52
52
|
"eslint-plugin-vue": "10.4.0",
|
|
53
53
|
"eslint-plugin-vuejs-accessibility": "2.4.1",
|
|
54
54
|
"globals": "16.3.0",
|