@d-zero/lint-staged-config 5.0.0-alpha.52 → 5.0.0-alpha.53

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/index.d.ts CHANGED
@@ -10,4 +10,9 @@ export interface DirectoryOptions {
10
10
  ignore?: (string | IgnoreMap)[];
11
11
  }
12
12
  export type IgnoreMap = Partial<Record<CommandType, string | string[]>>;
13
+ /**
14
+ *
15
+ * @param dirOptions
16
+ * @param mapping
17
+ */
13
18
  export default function (dirOptions?: string | DirectoryOptions, mapping?: CommandMappings): LintStagedCommandMapper;
package/dist/index.js CHANGED
@@ -2,6 +2,11 @@ import path from 'node:path';
2
2
  import micromatch from 'micromatch';
3
3
  import { commands } from './commands.js';
4
4
  import { defaultMapping } from './default-mapping.js';
5
+ /**
6
+ *
7
+ * @param dirOptions
8
+ * @param mapping
9
+ */
5
10
  export default function (dirOptions, mapping) {
6
11
  return (allStagedFiles) => {
7
12
  const commandList = [];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d-zero/lint-staged-config",
3
- "version": "5.0.0-alpha.52",
3
+ "version": "5.0.0-alpha.53",
4
4
  "description": "Configurations of lint-staged",
5
5
  "repository": "https://github.com/d-zero-dev/linters.git",
6
6
  "author": "D-ZERO Co., Ltd.",
@@ -30,5 +30,5 @@
30
30
  "devDependencies": {
31
31
  "@types/micromatch": "4.0.9"
32
32
  },
33
- "gitHead": "68e226da6791383d100854506fc048a757436283"
33
+ "gitHead": "6e32319be4b8a0fd9a09c9f82df89cf4f4fb46c5"
34
34
  }