@hyoretsu/configs 1.2.5 → 1.2.7
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var i=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var m=Object.prototype.hasOwnProperty;var p=(s,e)=>{for(var a in e)i(s,a,{get:e[a],enumerable:!0})},l=(s,e,a,o)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of c(e))!m.call(s,t)&&t!==a&&i(s,t,{get:()=>e[t],enumerable:!(o=n(e,t))||o.enumerable});return s};var r=s=>l(i({},"__esModule",{value:!0}),s);var d={};p(d,{default:()=>u});module.exports=r(d);var u={extends:["@commitlint/config-conventional"],prompt:{questions:{type:{enum:{bump:{description:"Package updates.",emoji:"\u2B06\uFE0F"},change:{description:"Simple changes that don't amount to a feature.",emoji:"\u{1F504}"},misc:{description:"Miscellaneous changes.",emoji:"\u{1F9F1}"}}}}},rules:{"body-case":[2,"always",["camel-case","lower-case","pascal-case","sentence-case"]]}};
|
|
@@ -21,7 +21,7 @@ declare const _default: {
|
|
|
21
21
|
};
|
|
22
22
|
};
|
|
23
23
|
rules: {
|
|
24
|
-
"body-case": [2, "always", ("camel-case" | "pascal-case" | "lower-case")[]];
|
|
24
|
+
"body-case": [2, "always", ("camel-case" | "pascal-case" | "sentence-case" | "lower-case")[]];
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
27
|
export default _default;
|
package/dist/commitlint/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var e={extends:["@commitlint/config-conventional"],prompt:{questions:{type:{enum:{bump:{description:"Package updates.",emoji:"\u2B06\uFE0F"},change:{description:"Simple changes that don't amount to a feature.",emoji:"\u{1F504}"},misc:{description:"Miscellaneous changes.",emoji:"\u{1F9F1}"}}}}},rules:{"body-case":[2,"always",["camel-case","lower-case","pascal-case"]]}};export{e as default};
|
|
1
|
+
var e={extends:["@commitlint/config-conventional"],prompt:{questions:{type:{enum:{bump:{description:"Package updates.",emoji:"\u2B06\uFE0F"},change:{description:"Simple changes that don't amount to a feature.",emoji:"\u{1F504}"},misc:{description:"Miscellaneous changes.",emoji:"\u{1F9F1}"}}}}},rules:{"body-case":[2,"always",["camel-case","lower-case","pascal-case","sentence-case"]]}};export{e as default};
|
package/dist/eslint/index.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
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")=>({
|
|
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")=>({ignores:(0,l.readFileSync)(c.default.resolve(t),"utf-8").split(`
|
|
2
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,2 +1,2 @@
|
|
|
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")=>({
|
|
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")=>({ignores:o(n.resolve(s),"utf-8").split(`
|
|
2
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};
|