@hyoretsu/configs 1.2.9 → 1.2.11
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.cjs +2 -2
- package/dist/eslint/index.js +2 -2
- package/dist/ts/nest.json +1 -1
- package/package.json +1 -1
package/dist/eslint/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var
|
|
2
|
-
`).filter(
|
|
1
|
+
"use strict";var m=Object.create;var i=Object.defineProperty;var u=Object.getOwnPropertyDescriptor;var g=Object.getOwnPropertyNames;var x=Object.getPrototypeOf,j=Object.prototype.hasOwnProperty;var b=(e,t)=>{for(var s in t)i(e,s,{get:t[s],enumerable:!0})},c=(e,t,s,p)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of g(t))!j.call(e,n)&&n!==s&&i(e,n,{get:()=>t[n],enumerable:!(p=u(t,n))||p.enumerable});return e};var f=(e,t,s)=>(s=e!=null?m(x(e)):{},c(t||!e||!e.__esModule?i(s,"default",{value:e,enumerable:!0}):s,e)),h=e=>c(i({},"__esModule",{value:!0}),e);var w={};b(w,{default:()=>k,generateIgnores:()=>v});module.exports=h(w);var r=require("node:fs"),l=f(require("node:path"),1),a=f(require("@eslint/js"),1),d=require("eslint/config"),y=f(require("eslint-config-biome"),1),o=f(require("typescript-eslint"),1);const v=(e=".gitignore")=>{const t=l.default.resolve(e);return(0,r.existsSync)(t)?{ignores:(0,r.readFileSync)(t,"utf-8").split(`
|
|
2
|
+
`).filter(s=>s!==""&&s[0]!=="#"&&s[0]!=="!").map(s=>`**/${s}`)}:{ignores:[]}};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","@typescript-eslint/no-namespace":"off"}},{extends:[o.default.configs.disableTypeChecked],files:["**/*.js","**/*.jsx"],rules:{"no-undef":"off"}},{extends:[y.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.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{readFileSync as
|
|
2
|
-
`).filter(e=>e!==""&&e[0]!=="#"&&e[0]!=="!").map(e=>`**/${e}`)}
|
|
1
|
+
import{existsSync as n,readFileSync as i}from"node:fs";import f from"node:path";import r from"@eslint/js";import{defineConfig as p}from"eslint/config";import c from"eslint-config-biome";import t from"typescript-eslint";const g=(o=".gitignore")=>{const s=f.resolve(o);return n(s)?{ignores:i(s,"utf-8").split(`
|
|
2
|
+
`).filter(e=>e!==""&&e[0]!=="#"&&e[0]!=="!").map(e=>`**/${e}`)}:{ignores:[]}};var x=p([{ignores:["**/.next/**","**/build/**","**/dist/**","**/node_modules/**"]},r.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","@typescript-eslint/no-namespace":"off"}},{extends:[t.configs.disableTypeChecked],files:["**/*.js","**/*.jsx"],rules:{"no-undef":"off"}},{extends:[c],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{x as default,g as generateIgnores};
|
package/dist/ts/nest.json
CHANGED