@hyoretsu/configs 1.2.3 → 1.2.5
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/biome/base.json +2 -16
- package/dist/biome/nest.json +2 -13
- package/dist/biome/react.json +2 -16
- package/dist/eslint/index.cjs +2 -1
- package/dist/eslint/index.d.ts +3 -0
- package/dist/eslint/index.js +2 -1
- package/package.json +2 -1
package/dist/biome/base.json
CHANGED
|
@@ -23,19 +23,9 @@
|
|
|
23
23
|
"ignoreUnknown": true,
|
|
24
24
|
"includes": [
|
|
25
25
|
"**",
|
|
26
|
-
"!**/.git",
|
|
27
|
-
"!**/.next",
|
|
28
|
-
"!**/build",
|
|
29
|
-
"!**/client",
|
|
30
|
-
"!**/coverage",
|
|
31
|
-
"!**/dist",
|
|
32
|
-
"!**/node_modules",
|
|
33
|
-
"!**/bun.lock",
|
|
34
26
|
"!**/public",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"!**/*.min.js",
|
|
38
|
-
"!**/*.gen.ts"
|
|
27
|
+
"!**/*.gen.ts",
|
|
28
|
+
"!**/*.min.js"
|
|
39
29
|
]
|
|
40
30
|
},
|
|
41
31
|
"formatter": {
|
|
@@ -47,13 +37,9 @@
|
|
|
47
37
|
"formatter": {
|
|
48
38
|
"arrowParentheses": "asNeeded",
|
|
49
39
|
"lineEnding": "lf",
|
|
50
|
-
"lineWidth": 140,
|
|
51
40
|
"quoteStyle": "double",
|
|
52
41
|
"semicolons": "always",
|
|
53
42
|
"trailingCommas": "all"
|
|
54
|
-
},
|
|
55
|
-
"parser": {
|
|
56
|
-
"unsafeParameterDecoratorsEnabled": true
|
|
57
43
|
}
|
|
58
44
|
},
|
|
59
45
|
"linter": {
|
package/dist/biome/nest.json
CHANGED
|
@@ -23,19 +23,9 @@
|
|
|
23
23
|
"ignoreUnknown": true,
|
|
24
24
|
"includes": [
|
|
25
25
|
"**",
|
|
26
|
-
"!**/.git",
|
|
27
|
-
"!**/.next",
|
|
28
|
-
"!**/build",
|
|
29
|
-
"!**/client",
|
|
30
|
-
"!**/coverage",
|
|
31
|
-
"!**/dist",
|
|
32
|
-
"!**/node_modules",
|
|
33
|
-
"!**/bun.lock",
|
|
34
26
|
"!**/public",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"!**/*.min.js",
|
|
38
|
-
"!**/*.gen.ts"
|
|
27
|
+
"!**/*.gen.ts",
|
|
28
|
+
"!**/*.min.js"
|
|
39
29
|
]
|
|
40
30
|
},
|
|
41
31
|
"formatter": {
|
|
@@ -47,7 +37,6 @@
|
|
|
47
37
|
"formatter": {
|
|
48
38
|
"arrowParentheses": "asNeeded",
|
|
49
39
|
"lineEnding": "lf",
|
|
50
|
-
"lineWidth": 140,
|
|
51
40
|
"quoteStyle": "double",
|
|
52
41
|
"semicolons": "always",
|
|
53
42
|
"trailingCommas": "all"
|
package/dist/biome/react.json
CHANGED
|
@@ -23,19 +23,9 @@
|
|
|
23
23
|
"ignoreUnknown": true,
|
|
24
24
|
"includes": [
|
|
25
25
|
"**",
|
|
26
|
-
"!**/.git",
|
|
27
|
-
"!**/.next",
|
|
28
|
-
"!**/build",
|
|
29
|
-
"!**/client",
|
|
30
|
-
"!**/coverage",
|
|
31
|
-
"!**/dist",
|
|
32
|
-
"!**/node_modules",
|
|
33
|
-
"!**/bun.lock",
|
|
34
26
|
"!**/public",
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"!**/*.min.js",
|
|
38
|
-
"!**/*.gen.ts"
|
|
27
|
+
"!**/*.gen.ts",
|
|
28
|
+
"!**/*.min.js"
|
|
39
29
|
]
|
|
40
30
|
},
|
|
41
31
|
"formatter": {
|
|
@@ -47,13 +37,9 @@
|
|
|
47
37
|
"formatter": {
|
|
48
38
|
"arrowParentheses": "asNeeded",
|
|
49
39
|
"lineEnding": "lf",
|
|
50
|
-
"lineWidth": 140,
|
|
51
40
|
"quoteStyle": "double",
|
|
52
41
|
"semicolons": "always",
|
|
53
42
|
"trailingCommas": "all"
|
|
54
|
-
},
|
|
55
|
-
"parser": {
|
|
56
|
-
"unsafeParameterDecoratorsEnabled": true
|
|
57
43
|
}
|
|
58
44
|
},
|
|
59
45
|
"linter": {
|
package/dist/eslint/index.cjs
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var y=Object.create;var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var b=(t,e)=>{for(var s in e)i(t,s,{get:e[s],enumerable:!0})},p=(t,e,s,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of g(e))!j.call(t,n)&&n!==s&&i(t,n,{get:()=>e[n],enumerable:!(r=u(e,n))||r.enumerable});return t};var f=(t,e,s)=>(s=t!=null?y(x(t)):{},p(e||!t||!t.__esModule?i(s,"default",{value:t,enumerable:!0}):s,t)),h=t=>p(i({},"__esModule",{value:!0}),t);var w={};b(w,{default:()=>k,generateIgnores:()=>v});module.exports=h(w);var l=require("node:fs"),c=f(require("node:path"),1),a=f(require("@eslint/js"),1),d=require("eslint/config"),m=f(require("eslint-config-biome"),1),o=f(require("typescript-eslint"),1);const v=(t=".gitignore")=>({ignore:(0,l.readFileSync)(c.default.resolve(t),"utf-8").split(`
|
|
2
|
+
`).filter(e=>e!==""&&e[0]!=="#"&&e[0]!=="!").map(e=>`**/${e}`)});var k=(0,d.defineConfig)([{ignores:["**/.next/**","**/build/**","**/dist/**","**/node_modules/**"]},a.default.configs.recommended,{extends:[o.default.configs.strict,o.default.configs.stylistic],files:["**/*.ts","**/*.tsx"],languageOptions:{parser:o.default.parser},plugins:{"@typescript-eslint":o.default.plugin},rules:{"@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-confusing-void-expression":"off","@typescript-eslint/no-duplicate-enum-values":"off","@typescript-eslint/no-empty-function":"warn"}},{extends:[o.default.configs.disableTypeChecked],files:["**/*.js","**/*.jsx"],rules:{"no-undef":"off"}},{extends:[m.default],rules:{"@typescript-eslint/array-type":"off","@typescript-eslint/consistent-indexed-object-style":"off","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-dynamic-delete":"off","@typescript-eslint/no-empty-object-type":"off","@typescript-eslint/no-namespace":"off","@typescript-eslint/no-non-null-asserted-optional-chain":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/prefer-for-of":"off","@typescript-eslint/require-await":"off","jest/max-nested-describe":"off","jest/no-disabled-tests":"off","jest/no-done-callback":"off","jest/no-duplicate-hooks":"off","jest/no-export":"off","jest/no-focused-tests":"off","jest/no-standalone-expect":"off","sort-imports":"off"}}]);0&&(module.exports={generateIgnores});
|
package/dist/eslint/index.d.ts
CHANGED
package/dist/eslint/index.js
CHANGED
|
@@ -1 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import{readFileSync as o}from"node:fs";import n from"node:path";import i from"@eslint/js";import{defineConfig as f}from"eslint/config";import r from"eslint-config-biome";import t from"typescript-eslint";const y=(s=".gitignore")=>({ignore:o(n.resolve(s),"utf-8").split(`
|
|
2
|
+
`).filter(e=>e!==""&&e[0]!=="#"&&e[0]!=="!").map(e=>`**/${e}`)});var u=f([{ignores:["**/.next/**","**/build/**","**/dist/**","**/node_modules/**"]},i.configs.recommended,{extends:[t.configs.strict,t.configs.stylistic],files:["**/*.ts","**/*.tsx"],languageOptions:{parser:t.parser},plugins:{"@typescript-eslint":t.plugin},rules:{"@typescript-eslint/ban-ts-comment":"off","@typescript-eslint/no-confusing-void-expression":"off","@typescript-eslint/no-duplicate-enum-values":"off","@typescript-eslint/no-empty-function":"warn"}},{extends:[t.configs.disableTypeChecked],files:["**/*.js","**/*.jsx"],rules:{"no-undef":"off"}},{extends:[r],rules:{"@typescript-eslint/array-type":"off","@typescript-eslint/consistent-indexed-object-style":"off","@typescript-eslint/consistent-type-definitions":"off","@typescript-eslint/no-dynamic-delete":"off","@typescript-eslint/no-empty-object-type":"off","@typescript-eslint/no-namespace":"off","@typescript-eslint/no-non-null-asserted-optional-chain":"off","@typescript-eslint/no-unused-vars":"off","@typescript-eslint/prefer-for-of":"off","@typescript-eslint/require-await":"off","jest/max-nested-describe":"off","jest/no-disabled-tests":"off","jest/no-done-callback":"off","jest/no-duplicate-hooks":"off","jest/no-export":"off","jest/no-focused-tests":"off","jest/no-standalone-expect":"off","sort-imports":"off"}}]);export{u as default,y as generateIgnores};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyoretsu/configs",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"files": [
|
|
@@ -61,6 +61,7 @@
|
|
|
61
61
|
"devDependencies": {
|
|
62
62
|
"@biomejs/biome": "latest",
|
|
63
63
|
"@commitlint/types": "^20.4.0",
|
|
64
|
+
"@types/node": "^25.2.3",
|
|
64
65
|
"es-toolkit": "^1.42.0",
|
|
65
66
|
"lint-staged": "^16.2.7",
|
|
66
67
|
"tsup": "^8.5.1",
|