@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.
@@ -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
- "!**/tmp",
36
- "!**/temp",
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": {
@@ -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
- "!**/tmp",
36
- "!**/temp",
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"
@@ -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
- "!**/tmp",
36
- "!**/temp",
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": {
@@ -1 +1,2 @@
1
- "use strict";var a=Object.create;var i=Object.defineProperty;var y=Object.getOwnPropertyDescriptor;var m=Object.getOwnPropertyNames;var u=Object.getPrototypeOf,x=Object.prototype.hasOwnProperty;var g=(e,t)=>{for(var s in t)i(e,s,{get:t[s],enumerable:!0})},r=(e,t,s,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of m(t))!x.call(e,n)&&n!==s&&i(e,n,{get:()=>t[n],enumerable:!(p=y(t,n))||p.enumerable});return e};var f=(e,t,s)=>(s=e!=null?a(u(e)):{},r(t||!e||!e.__esModule?i(s,"default",{value:e,enumerable:!0}):s,e)),j=e=>r(i({},"__esModule",{value:!0}),e);var h={};g(h,{default:()=>b});module.exports=j(h);var l=f(require("@eslint/js"),1),c=require("eslint/config"),d=f(require("eslint-config-biome"),1),o=f(require("typescript-eslint"),1),b=(0,c.defineConfig)([{ignores:["**/.next/**","**/build/**","**/dist/**","**/node_modules/**"]},l.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:[d.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"}}]);
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});
@@ -1,2 +1,5 @@
1
+ export function generateIgnores(filePath?: string): {
2
+ ignore: string[];
3
+ };
1
4
  declare const _default: import("eslint/config").Config[];
2
5
  export default _default;
@@ -1 +1,2 @@
1
- import t from"@eslint/js";import{defineConfig as s}from"eslint/config";import o from"eslint-config-biome";import e from"typescript-eslint";var r=s([{ignores:["**/.next/**","**/build/**","**/dist/**","**/node_modules/**"]},t.configs.recommended,{extends:[e.configs.strict,e.configs.stylistic],files:["**/*.ts","**/*.tsx"],languageOptions:{parser:e.parser},plugins:{"@typescript-eslint":e.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:[e.configs.disableTypeChecked],files:["**/*.js","**/*.jsx"],rules:{"no-undef":"off"}},{extends:[o],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{r as default};
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",
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",