Skip to content

Commit

Permalink
Adopt type definition from lint-staged
Browse files Browse the repository at this point in the history
  • Loading branch information
Vinnl authored and dependabot[bot] committed Jan 28, 2025
1 parent 7457e1c commit e55f436
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const buildEslintCommand = (filenames) =>
.map((f) => path.relative(process.cwd(), f))
.join(" --file ")}`;

/**
* @type {import("lint-staged").Configuration}
*/
export default {
"*.{js,cjs,mjs,jsx,ts,tsx}": [buildEslintCommand],
"*.{scss,css}": "stylelint --allow-empty-input --fix",
Expand Down

0 comments on commit e55f436

Please sign in to comment.