@hyoretsu/configs 1.1.15 → 1.1.17

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.
@@ -52,6 +52,9 @@
52
52
  },
53
53
  "linter": {
54
54
  "rules": {
55
+ "a11y": {
56
+ "noStaticElementInteractions": "info"
57
+ },
55
58
  "complexity": {
56
59
  "noBannedTypes": "warn",
57
60
  "noForEach": "off"
@@ -95,6 +98,9 @@
95
98
  }
96
99
  }
97
100
  },
101
+ "security": {
102
+ "noDangerouslySetInnerHtml": "warn"
103
+ },
98
104
  "style": {
99
105
  "noDoneCallback": "error",
100
106
  "noInferrableTypes": "error",
@@ -132,6 +138,7 @@
132
138
  "noShadowRestrictedNames": "warn",
133
139
  "noSkippedTests": "error",
134
140
  "noThenProperty": "info",
141
+ "noTsIgnore": "warn",
135
142
  "useIterableCallbackReturn": "info"
136
143
  }
137
144
  }
@@ -52,6 +52,9 @@
52
52
  },
53
53
  "linter": {
54
54
  "rules": {
55
+ "a11y": {
56
+ "noStaticElementInteractions": "info"
57
+ },
55
58
  "complexity": {
56
59
  "noBannedTypes": "warn",
57
60
  "noForEach": "off"
@@ -95,6 +98,9 @@
95
98
  }
96
99
  }
97
100
  },
101
+ "security": {
102
+ "noDangerouslySetInnerHtml": "warn"
103
+ },
98
104
  "style": {
99
105
  "noDoneCallback": "error",
100
106
  "noInferrableTypes": "error",
@@ -133,6 +139,7 @@
133
139
  "noShadowRestrictedNames": "warn",
134
140
  "noSkippedTests": "error",
135
141
  "noThenProperty": "info",
142
+ "noTsIgnore": "warn",
136
143
  "useIterableCallbackReturn": "info"
137
144
  }
138
145
  }
@@ -53,6 +53,7 @@
53
53
  "linter": {
54
54
  "rules": {
55
55
  "a11y": {
56
+ "noStaticElementInteractions": "info",
56
57
  "noSvgWithoutTitle": "warn",
57
58
  "useAltText": "warn",
58
59
  "useButtonType": "warn",
@@ -142,6 +143,7 @@
142
143
  "noShadowRestrictedNames": "warn",
143
144
  "noSkippedTests": "error",
144
145
  "noThenProperty": "info",
146
+ "noTsIgnore": "warn",
145
147
  "useIterableCallbackReturn": "info"
146
148
  }
147
149
  }
@@ -1 +1 @@
1
- "use strict";var o=Object.defineProperty;var x=Object.getOwnPropertyDescriptor;var i=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var j=(e,s)=>{for(var n in s)o(e,n,{get:s[n],enumerable:!0})},a=(e,s,n,r)=>{if(s&&typeof s=="object"||typeof s=="function")for(let t of i(s))!c.call(e,t)&&t!==n&&o(e,t,{get:()=>s[t],enumerable:!(r=x(s,t))||r.enumerable});return e};var l=e=>a(o({},"__esModule",{value:!0}),e);var u={};j(u,{default:()=>p});module.exports=l(u);var p={"*.(css|graphql|js|jsx|json|jsonc|ts|tsx)":["npx biome check --diagnostic-level=error --write --unsafe --no-errors-on-unmatched"],"*.(js|jsx|ts|tsx)":["npx eslint --quiet --fix"]};
1
+ "use strict";var l=Object.defineProperty;var t=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var r=(n,a)=>{for(var e in a)l(n,e,{get:a[e],enumerable:!0})},i=(n,a,e,o)=>{if(a&&typeof a=="object"||typeof a=="function")for(let s of c(a))!p.call(n,s)&&s!==e&&l(n,s,{get:()=>a[s],enumerable:!(o=t(a,s))||o.enumerable});return n};var g=n=>i(l({},"__esModule",{value:!0}),n);var x={};r(x,{lintStagedConfig:()=>k});module.exports=g(x);const m={bun:"bun install --lockfile-only",npm:"npm install --package-lock-only",pnpm:"pnpm install --lockfile-only",yarn:"yarn install"},k=n=>({...n&&{"(bun.|package-|pnpm-|yarn.)lock*":[()=>m[n]]},"*.(css|graphql|js|jsx|json|jsonc|ts|tsx)":["npx biome check --diagnostic-level=error --write --unsafe --no-errors-on-unmatched"],"*.(js|jsx|ts|tsx)":["npx eslint --quiet --fix"]});0&&(module.exports={lintStagedConfig});
@@ -1,5 +1,7 @@
1
- declare const _default: {
1
+ type PackageManager = "bun" | "npm" | "pnpm" | "yarn";
2
+ export declare const lintStagedConfig: (packageManager?: PackageManager) => {
2
3
  "*.(css|graphql|js|jsx|json|jsonc|ts|tsx)": string[];
3
4
  "*.(js|jsx|ts|tsx)": string[];
5
+ "(bun.|package-|pnpm-|yarn.)lock*"?: (() => string)[];
4
6
  };
5
- export default _default;
7
+ export {};
@@ -1 +1 @@
1
- var s={"*.(css|graphql|js|jsx|json|jsonc|ts|tsx)":["npx biome check --diagnostic-level=error --write --unsafe --no-errors-on-unmatched"],"*.(js|jsx|ts|tsx)":["npx eslint --quiet --fix"]};export{s as default};
1
+ const a={bun:"bun install --lockfile-only",npm:"npm install --package-lock-only",pnpm:"pnpm install --lockfile-only",yarn:"yarn install"},s=n=>({...n&&{"(bun.|package-|pnpm-|yarn.)lock*":[()=>a[n]]},"*.(css|graphql|js|jsx|json|jsonc|ts|tsx)":["npx biome check --diagnostic-level=error --write --unsafe --no-errors-on-unmatched"],"*.(js|jsx|ts|tsx)":["npx eslint --quiet --fix"]});export{s as lintStagedConfig};
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "allowJs": true,
4
+ "baseUrl": "./src",
4
5
  "checkJs": true,
5
6
  "composite": true,
6
7
  "downlevelIteration": true,
@@ -26,6 +27,10 @@
26
27
  "sourceMap": true,
27
28
  "strict": true,
28
29
  "target": "ESNext",
30
+ "typeRoots": [
31
+ "./node_modules/@types",
32
+ "src/@types"
33
+ ],
29
34
  "verbatimModuleSyntax": true
30
35
  }
31
36
  }
package/dist/ts/base.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "allowJs": true,
4
+ "baseUrl": "./src",
4
5
  "checkJs": true,
5
6
  "composite": true,
6
7
  "downlevelIteration": true,
@@ -24,6 +25,10 @@
24
25
  "sourceMap": true,
25
26
  "strict": true,
26
27
  "target": "ESNext",
28
+ "typeRoots": [
29
+ "./node_modules/@types",
30
+ "src/@types"
31
+ ],
27
32
  "verbatimModuleSyntax": true
28
33
  }
29
34
  }
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "allowJs": true,
4
+ "baseUrl": "./src",
4
5
  "checkJs": true,
5
6
  "composite": true,
6
7
  "downlevelIteration": true,
@@ -26,6 +27,10 @@
26
27
  "sourceMap": true,
27
28
  "strict": true,
28
29
  "target": "ESNext",
30
+ "typeRoots": [
31
+ "./node_modules/@types",
32
+ "src/@types"
33
+ ],
29
34
  "verbatimModuleSyntax": true
30
35
  }
31
36
  }
package/dist/ts/lib.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "allowJs": true,
4
+ "baseUrl": "./src",
4
5
  "checkJs": true,
5
6
  "composite": false,
6
7
  "declaration": true,
@@ -26,6 +27,10 @@
26
27
  "sourceMap": true,
27
28
  "strict": true,
28
29
  "target": "ESNext",
30
+ "typeRoots": [
31
+ "./node_modules/@types",
32
+ "src/@types"
33
+ ],
29
34
  "verbatimModuleSyntax": true
30
35
  }
31
36
  }
package/dist/ts/nest.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "allowJs": true,
4
+ "baseUrl": "./src",
4
5
  "checkJs": true,
5
6
  "composite": true,
6
7
  "downlevelIteration": true,
@@ -26,6 +27,10 @@
26
27
  "sourceMap": true,
27
28
  "strict": true,
28
29
  "target": "ESNext",
30
+ "typeRoots": [
31
+ "./node_modules/@types",
32
+ "src/@types"
33
+ ],
29
34
  "verbatimModuleSyntax": false
30
35
  }
31
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyoretsu/configs",
3
- "version": "1.1.15",
3
+ "version": "1.1.17",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "files": [