@schoero/configs 1.0.40 → 1.1.1
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/eslint/ignore.js +1 -1
- package/eslint/imports.js +1 -1
- package/eslint/jsdoc.js +7 -1
- package/eslint/json.js +1 -1
- package/eslint/jsx.js +1 -1
- package/eslint/markdown.js +1 -1
- package/eslint/stylistic.js +1 -1
- package/eslint/tailwind.js +1 -1
- package/eslint/typescript.js +1 -1
- package/eslint/vitest.js +1 -1
- package/eslint/yaml.js +1 -1
- package/package.json +10 -10
package/eslint/ignore.js
CHANGED
package/eslint/imports.js
CHANGED
|
@@ -3,7 +3,7 @@ import eslintPluginImportX from "eslint-plugin-import-x";
|
|
|
3
3
|
import eslintPluginPerfectionist from "eslint-plugin-perfectionist";
|
|
4
4
|
import eslintPluginUnusedImports from "eslint-plugin-unused-imports";
|
|
5
5
|
|
|
6
|
-
/** @type { import("eslint").Linter.
|
|
6
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
7
7
|
export const imports = [
|
|
8
8
|
{
|
|
9
9
|
files: ["**/*.{js,jsx,cjs,mjs,ts,tsx,cts}"],
|
package/eslint/jsdoc.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import eslintPluginJSDoc from "eslint-plugin-jsdoc";
|
|
2
2
|
|
|
3
|
-
/** @type { import("eslint").Linter.
|
|
3
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
4
4
|
export const jsdoc = [
|
|
5
5
|
{
|
|
6
6
|
files: ["**/*.{js,jsx,cjs,mjs,ts,tsx,cts}"],
|
|
@@ -34,6 +34,7 @@ export const jsdoc = [
|
|
|
34
34
|
"eslint-plugin-jsdoc/require-property-name": "warn",
|
|
35
35
|
"eslint-plugin-jsdoc/require-returns": ["warn", { enableFixer: true }],
|
|
36
36
|
"eslint-plugin-jsdoc/require-returns-description": "warn",
|
|
37
|
+
"eslint-plugin-jsdoc/require-template": ["warn", { requireSeparateTemplates: true }],
|
|
37
38
|
"eslint-plugin-jsdoc/require-throws": "warn",
|
|
38
39
|
"eslint-plugin-jsdoc/require-yields": "warn",
|
|
39
40
|
"eslint-plugin-jsdoc/require-yields-check": "warn",
|
|
@@ -47,6 +48,11 @@ export const jsdoc = [
|
|
|
47
48
|
"eventProperty"
|
|
48
49
|
]
|
|
49
50
|
}]
|
|
51
|
+
},
|
|
52
|
+
settings: {
|
|
53
|
+
jsdoc: {
|
|
54
|
+
ignoreInternal: true
|
|
55
|
+
}
|
|
50
56
|
}
|
|
51
57
|
}
|
|
52
58
|
];
|
package/eslint/json.js
CHANGED
package/eslint/jsx.js
CHANGED
|
@@ -5,7 +5,7 @@ import eslintPluginStylisticTS from "@stylistic/eslint-plugin-ts";
|
|
|
5
5
|
import eslintPluginTypeScript from "typescript-eslint";
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
/** @type {import("eslint").Linter.
|
|
8
|
+
/** @type {import("eslint").Linter.Config[]} */
|
|
9
9
|
export const jsx = [
|
|
10
10
|
{
|
|
11
11
|
files: ["**/*.{jsx,tsx}"],
|
package/eslint/markdown.js
CHANGED
|
@@ -3,7 +3,7 @@ import eslintPluginJsonc from "eslint-plugin-jsonc";
|
|
|
3
3
|
import eslintPluginMarkdown from "eslint-plugin-markdown";
|
|
4
4
|
import eslintPluginUnusedImports from "eslint-plugin-unused-imports";
|
|
5
5
|
|
|
6
|
-
/** @type { import("eslint").Linter.
|
|
6
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
7
7
|
export const markdown = [
|
|
8
8
|
{
|
|
9
9
|
files: ["**/*.{md,mdx}"],
|
package/eslint/stylistic.js
CHANGED
|
@@ -2,7 +2,7 @@ import eslintPluginStylisticJS from "@stylistic/eslint-plugin-js";
|
|
|
2
2
|
import eslintPluginStylisticPlus from "@stylistic/eslint-plugin-plus";
|
|
3
3
|
import eslintPluginStylisticTS from "@stylistic/eslint-plugin-ts";
|
|
4
4
|
|
|
5
|
-
/** @type { import("eslint").Linter.
|
|
5
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
6
6
|
export const stylistic = [
|
|
7
7
|
{
|
|
8
8
|
files: ["**/*.{js,jsx,cjs,mjs,ts,tsx,cts}"],
|
package/eslint/tailwind.js
CHANGED
|
@@ -19,7 +19,7 @@ const tailwindOptions = {
|
|
|
19
19
|
callees: ["twMerge", "twJoin", "cn", "cnv", "cva"]
|
|
20
20
|
};
|
|
21
21
|
|
|
22
|
-
/** @type { import("eslint").Linter.
|
|
22
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
23
23
|
export const tailwind = [
|
|
24
24
|
{
|
|
25
25
|
files: ["**/*.{js,jsx,cjs,mjs,tsx,css}"],
|
package/eslint/typescript.js
CHANGED
|
@@ -10,7 +10,7 @@ import eslintPluginPerfectionist from "eslint-plugin-perfectionist";
|
|
|
10
10
|
import { javascript } from "./javascript.js";
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
/** @type { import("eslint").Linter.
|
|
13
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
14
14
|
export const typescript = [
|
|
15
15
|
...javascript,
|
|
16
16
|
|
package/eslint/vitest.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import eslintPluginVitest from "eslint-plugin-vitest";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
/** @type { import("eslint").Linter.
|
|
4
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
5
5
|
export const vitest = [
|
|
6
6
|
{
|
|
7
7
|
files: ["**/*.test.{js,jsx,cjs,mjs,ts,tsx,cts}", "**/*.test-d.{ts,tsx,cts}"],
|
package/eslint/yaml.js
CHANGED
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.1.1",
|
|
3
3
|
"type": "module",
|
|
4
4
|
"name": "@schoero/configs",
|
|
5
5
|
"description": "",
|
|
@@ -88,19 +88,19 @@
|
|
|
88
88
|
"@cspell/dict-lorem-ipsum": "^4.0.0",
|
|
89
89
|
"@cspell/dict-markdown": "^2.0.2",
|
|
90
90
|
"@cspell/dict-node": "^5.0.1",
|
|
91
|
-
"@cspell/dict-npm": "^5.1.
|
|
91
|
+
"@cspell/dict-npm": "^5.1.4",
|
|
92
92
|
"@cspell/dict-public-licenses": "^2.0.8",
|
|
93
|
-
"@cspell/dict-software-terms": "^4.1.
|
|
93
|
+
"@cspell/dict-software-terms": "^4.1.3",
|
|
94
94
|
"@cspell/dict-typescript": "^3.1.6",
|
|
95
|
-
"@stylistic/eslint-plugin-js": "^2.
|
|
96
|
-
"@stylistic/eslint-plugin-jsx": "^2.
|
|
97
|
-
"@stylistic/eslint-plugin-plus": "^2.
|
|
98
|
-
"@stylistic/eslint-plugin-ts": "^2.
|
|
95
|
+
"@stylistic/eslint-plugin-js": "^2.7.2",
|
|
96
|
+
"@stylistic/eslint-plugin-jsx": "^2.7.2",
|
|
97
|
+
"@stylistic/eslint-plugin-plus": "^2.7.2",
|
|
98
|
+
"@stylistic/eslint-plugin-ts": "^2.7.2",
|
|
99
99
|
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
|
100
100
|
"@typescript-eslint/parser": "^8.3.0",
|
|
101
101
|
"cspell-lib": "^8.14.2",
|
|
102
102
|
"eslint-plugin-import-newlines": "^1.4.0",
|
|
103
|
-
"eslint-plugin-import-x": "^4.1.
|
|
103
|
+
"eslint-plugin-import-x": "^4.1.1",
|
|
104
104
|
"eslint-plugin-jsdoc": "^50.2.2",
|
|
105
105
|
"eslint-plugin-jsonc": "^2.16.0",
|
|
106
106
|
"eslint-plugin-markdown": "^5.1.0",
|
|
@@ -118,11 +118,11 @@
|
|
|
118
118
|
"eslint-plugin-tailwindcss": "^3.17.4"
|
|
119
119
|
},
|
|
120
120
|
"devDependencies": {
|
|
121
|
-
"@types/node": "^22.5.
|
|
121
|
+
"@types/node": "^22.5.2",
|
|
122
122
|
"changelogen": "^0.5.5",
|
|
123
123
|
"cspell": "^8.14.2",
|
|
124
124
|
"eslint": "^9.9.1",
|
|
125
|
-
"markdownlint": "^0.
|
|
125
|
+
"markdownlint": "^0.35.0",
|
|
126
126
|
"vite": "^5.4.2",
|
|
127
127
|
"vitest": "^2.0.5"
|
|
128
128
|
},
|