@schoero/configs 1.1.0 → 1.1.2
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 +1 -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 +13 -16
- package/eslint/typescript.js +1 -1
- package/eslint/vitest.js +1 -1
- package/eslint/yaml.js +1 -1
- package/package.json +11 -12
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
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
|
@@ -4,22 +4,11 @@ import { MatcherType } from "eslint-plugin-readable-tailwind/api/types";
|
|
|
4
4
|
import eslintPluginTailwindcss from "eslint-plugin-tailwindcss";
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
const tailwindCssVariables = [
|
|
8
|
-
...getDefaultVariables(),
|
|
9
|
-
[
|
|
10
|
-
"variants", [
|
|
11
|
-
{
|
|
12
|
-
match: MatcherType.ObjectValue
|
|
13
|
-
}
|
|
14
|
-
]
|
|
15
|
-
]
|
|
16
|
-
];
|
|
17
|
-
|
|
18
7
|
const tailwindOptions = {
|
|
19
8
|
callees: ["twMerge", "twJoin", "cn", "cnv", "cva"]
|
|
20
9
|
};
|
|
21
10
|
|
|
22
|
-
/** @type { import("eslint").Linter.
|
|
11
|
+
/** @type { import("eslint").Linter.Config[] } */
|
|
23
12
|
export const tailwind = [
|
|
24
13
|
{
|
|
25
14
|
files: ["**/*.{js,jsx,cjs,mjs,tsx,css}"],
|
|
@@ -32,10 +21,18 @@ export const tailwind = [
|
|
|
32
21
|
"eslint-plugin-tailwindcss/enforces-shorthand": ["warn", tailwindOptions],
|
|
33
22
|
"eslint-plugin-tailwindcss/no-contradicting-classname": ["warn", tailwindOptions],
|
|
34
23
|
|
|
35
|
-
"eslint-plugin-readable-tailwind/multiline": ["warn", { printWidth: 119, group: "newLine"
|
|
36
|
-
"eslint-plugin-readable-tailwind/no-unnecessary-whitespace":
|
|
37
|
-
"eslint-plugin-readable-tailwind/sort-classes":
|
|
38
|
-
"eslint-plugin-readable-tailwind/no-duplicate-classes":
|
|
24
|
+
"eslint-plugin-readable-tailwind/multiline": ["warn", { printWidth: 119, group: "newLine" }],
|
|
25
|
+
"eslint-plugin-readable-tailwind/no-unnecessary-whitespace": "warn",
|
|
26
|
+
"eslint-plugin-readable-tailwind/sort-classes": "warn",
|
|
27
|
+
"eslint-plugin-readable-tailwind/no-duplicate-classes": "warn"
|
|
28
|
+
},
|
|
29
|
+
settings: {
|
|
30
|
+
"eslint-plugin-readable-tailwind": {
|
|
31
|
+
variables: [
|
|
32
|
+
...getDefaultVariables(),
|
|
33
|
+
["variants", [{ match: MatcherType.ObjectValue }]]
|
|
34
|
+
]
|
|
35
|
+
}
|
|
39
36
|
}
|
|
40
37
|
}
|
|
41
38
|
];
|
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.1.
|
|
2
|
+
"version": "1.1.2",
|
|
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",
|
|
@@ -114,15 +114,14 @@
|
|
|
114
114
|
"vitest-github-actions-reporter": "^0.11.1"
|
|
115
115
|
},
|
|
116
116
|
"optionalDependencies": {
|
|
117
|
-
"eslint-plugin-readable-tailwind": "^1.
|
|
118
|
-
"eslint-plugin-tailwindcss": "^3.17.4"
|
|
117
|
+
"eslint-plugin-readable-tailwind": "^1.8.0"
|
|
119
118
|
},
|
|
120
119
|
"devDependencies": {
|
|
121
|
-
"@types/node": "^22.5.
|
|
120
|
+
"@types/node": "^22.5.2",
|
|
122
121
|
"changelogen": "^0.5.5",
|
|
123
122
|
"cspell": "^8.14.2",
|
|
124
123
|
"eslint": "^9.9.1",
|
|
125
|
-
"markdownlint": "^0.
|
|
124
|
+
"markdownlint": "^0.35.0",
|
|
126
125
|
"vite": "^5.4.2",
|
|
127
126
|
"vitest": "^2.0.5"
|
|
128
127
|
},
|