@hiddenability/opinionated-defaults 0.1.31 → 0.1.33
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/eslint/index.d.ts +0 -1
- package/dist/eslint/index.mjs +1 -1
- package/package.json +17 -17
- package/dist/eslint/stylistic.d.ts +0 -3
package/dist/eslint/index.d.ts
CHANGED
|
@@ -9,5 +9,4 @@ export { default as eslintConfigPrettier } from "./prettier";
|
|
|
9
9
|
export { default as eslintConfigReact } from "./react";
|
|
10
10
|
export { default as eslintConfigRelative } from "./relative";
|
|
11
11
|
export { default as eslintConfigSolid } from "./solid";
|
|
12
|
-
export { default as eslintConfigStylistic } from "./stylistic";
|
|
13
12
|
export { default as eslintConfigTurbo } from "./turbo";
|
package/dist/eslint/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import f from"eslint-plugin-astro";var
|
|
1
|
+
import f from"eslint-plugin-astro";var i=[...f.configs.recommended],s=i;import a from"@eslint/js";import p from"@stylistic/eslint-plugin";import m from"@typescript-eslint/parser";import c from"eslint-plugin-prefer-arrow-functions";import g from"eslint-plugin-unicorn";import e from"globals";import l from"typescript-eslint";var u=[{ignores:["**/dist/","**/node_modules/","**/.git/"]},{files:["**/*.ts","**/*.js","**/*.mjs","**/*.mts","**/*.tsx","**/*.jsx"]},...l.configs.recommendedTypeChecked,a.configs.recommended,g.configs.recommended,{languageOptions:{globals:{...e.nodeBuiltin,...e.browser},parser:m,parserOptions:{projectService:!0}},rules:{"@typescript-eslint/no-misused-promises":["error",{checksVoidReturn:!1}],"@typescript-eslint/no-unused-vars":["error",{args:"all",argsIgnorePattern:"^_",caughtErrors:"all",caughtErrorsIgnorePattern:"^_",destructuredArrayIgnorePattern:"^_",ignoreRestSiblings:!0,varsIgnorePattern:"^_"}],"@typescript-eslint/prefer-nullish-coalescing":"error","no-unused-vars":["error",{args:"all",argsIgnorePattern:"^_",caughtErrors:"all",caughtErrorsIgnorePattern:"^_",destructuredArrayIgnorePattern:"^_",ignoreRestSiblings:!0,varsIgnorePattern:"^_"}]}},{rules:{"unicorn/filename-case":["error",{cases:{kebabCase:!0}}],"unicorn/no-array-for-each":["off"],"unicorn/no-array-reduce":["off"],"unicorn/prevent-abbreviations":["off"]}},{plugins:{"prefer-arrow-functions":c},rules:{"prefer-arrow-functions/prefer-arrow-functions":["error",{returnStyle:"implicit"}]}},{plugins:{"@stylistic":p},rules:{"@stylistic/quotes":["error","backtick"]}}],d=u;var y=(n)=>n;import o from"eslint-plugin-functional";var C=[o.configs.externalTypeScriptRecommended,o.configs.recommended,o.configs.stylistic,{rules:{"functional/no-expression-statements":["off"],"functional/no-return-void":["off"]}}],x=C;import t from"@next/eslint-plugin-next";var A=[{ignores:["**/next-env.d.ts"]},{plugins:{"@next/next":t},rules:{...t.configs.recommended.rules,...t.configs["core-web-vitals"].rules}}],R=A;import k from"eslint-plugin-oxlint";var w=[...k.configs["flat/recommended"]],N=w;import b from"eslint-plugin-perfectionist";var B=[b.configs["recommended-natural"],{rules:{"perfectionist/sort-object-types":["warn",{partitionByNewLine:!0}],"perfectionist/sort-objects":["warn",{partitionByNewLine:!0}]}}],O=B;import j from"eslint-plugin-prettier/recommended";var v=[j,{rules:{"prettier/prettier":"warn"}}],L=v;import r from"eslint-plugin-react";import T from"eslint-plugin-react-hooks";import{defineConfig as H}from"eslint/config";var J=H([r.configs.flat.recommended,r.configs.flat["jsx-runtime"],{extends:["react-hooks/recommended"],plugins:{"react-hooks":T}},{settings:{react:{version:"detect"}}}]),S=J;import h from"eslint-plugin-no-relative-import-paths";var q=[{plugins:{"no-relative-import-paths":h},rules:{"no-relative-import-paths/no-relative-import-paths":["error",{prefix:"@"}]}}],z=q;import D from"eslint-plugin-solid/configs/typescript";var E=[D],F=E;import G from"eslint-plugin-turbo";var K=[G.configs["flat/recommended"]],M=K;export{M as eslintConfigTurbo,F as eslintConfigSolid,z as eslintConfigRelative,S as eslintConfigReact,L as eslintConfigPrettier,O as eslintConfigPerfectionist,N as eslintConfigOxlint,R as eslintConfigNext,x as eslintConfigFunctional,d as eslintConfigBase,s as eslintConfigAstro,y as eslintConfig};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hiddenability/opinionated-defaults",
|
|
3
3
|
"description": "Opinionated default configurations for webdev tools.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.33",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -37,17 +37,17 @@
|
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
39
|
"@eslint/compat": "^1.4.0",
|
|
40
|
-
"@eslint/js": "^9.
|
|
41
|
-
"@next/eslint-plugin-next": "^15.5.
|
|
42
|
-
"@stylistic/eslint-plugin": "^5.
|
|
40
|
+
"@eslint/js": "^9.38.0",
|
|
41
|
+
"@next/eslint-plugin-next": "^15.5.6",
|
|
42
|
+
"@stylistic/eslint-plugin": "^5.5.0",
|
|
43
43
|
"@trivago/prettier-plugin-sort-imports": "^5.2.2",
|
|
44
|
-
"eslint": "^9.
|
|
44
|
+
"eslint": "^9.38.0",
|
|
45
45
|
"eslint-config-prettier": "^10.1.8",
|
|
46
|
-
"eslint-plugin-astro": "^1.
|
|
46
|
+
"eslint-plugin-astro": "^1.4.0",
|
|
47
47
|
"eslint-plugin-functional": "^9.0.2",
|
|
48
48
|
"eslint-plugin-import": "^2.32.0",
|
|
49
49
|
"eslint-plugin-no-relative-import-paths": "^1.6.1",
|
|
50
|
-
"eslint-plugin-oxlint": "
|
|
50
|
+
"eslint-plugin-oxlint": "1.23.0",
|
|
51
51
|
"eslint-plugin-perfectionist": "^4.15.1",
|
|
52
52
|
"eslint-plugin-prefer-arrow-functions": "^3.9.1",
|
|
53
53
|
"eslint-plugin-prettier": "^5.5.4",
|
|
@@ -58,27 +58,27 @@
|
|
|
58
58
|
"eslint-plugin-unicorn": "^61.0.2",
|
|
59
59
|
"jiti": "^2.6.1",
|
|
60
60
|
"lodash": "^4.17.21",
|
|
61
|
-
"oxlint": "^1.
|
|
61
|
+
"oxlint": "^1.24.0",
|
|
62
62
|
"prettier": "^3.6.2",
|
|
63
63
|
"prettier-plugin-astro": "^0.14.1",
|
|
64
64
|
"prettier-plugin-tailwindcss": "0.6.14",
|
|
65
|
-
"typescript-eslint": "^8.
|
|
65
|
+
"typescript-eslint": "^8.46.2"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@hiddenability/opinionated-defaults": "link:@hiddenability/opinionated-defaults",
|
|
69
|
-
"@types/bun": "^1.
|
|
69
|
+
"@types/bun": "^1.3.1",
|
|
70
70
|
"@types/lodash": "^4.17.20",
|
|
71
|
-
"@types/node": "^24.
|
|
71
|
+
"@types/node": "^24.9.1",
|
|
72
72
|
"consola": "^3.4.2",
|
|
73
73
|
"eslint_d": "^14.3.0",
|
|
74
74
|
"oxc-transform": "^0.94.0"
|
|
75
75
|
},
|
|
76
76
|
"optionalDependencies": {
|
|
77
|
-
"@hiddenability/opinionated-defaults-darwin-arm64": "^0.1.
|
|
78
|
-
"@hiddenability/opinionated-defaults-darwin-x64": "^0.1.
|
|
79
|
-
"@hiddenability/opinionated-defaults-linux-arm64": "^0.1.
|
|
80
|
-
"@hiddenability/opinionated-defaults-linux-x64": "^0.1.
|
|
81
|
-
"@hiddenability/opinionated-defaults-win-arm64": "^0.1.
|
|
82
|
-
"@hiddenability/opinionated-defaults-win-x64": "^0.1.
|
|
77
|
+
"@hiddenability/opinionated-defaults-darwin-arm64": "^0.1.32",
|
|
78
|
+
"@hiddenability/opinionated-defaults-darwin-x64": "^0.1.32",
|
|
79
|
+
"@hiddenability/opinionated-defaults-linux-arm64": "^0.1.32",
|
|
80
|
+
"@hiddenability/opinionated-defaults-linux-x64": "^0.1.32",
|
|
81
|
+
"@hiddenability/opinionated-defaults-win-arm64": "^0.1.32",
|
|
82
|
+
"@hiddenability/opinionated-defaults-win-x64": "^0.1.32"
|
|
83
83
|
}
|
|
84
84
|
}
|