We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@type
1 parent cca0089 commit 9a4eb9eCopy full SHA for 9a4eb9e
lint-staged.config.mjs
@@ -1,5 +1,5 @@
1
/**
2
- * @type {Record<string, string | (filenames: string[]) => string | string[] | Promise<string | string[]>}
+ * @type {Record<string, string | string[] | ((files: string[]) => string | string[] | Promise<string | string[]>)>}
3
*/
4
export default {
5
'*.{js,cjs,mjs,ts,cts,mts}': ['eslint --fix', 'prettier --write'],
0 commit comments