Files
klz-cables.com/.lintstagedrc.cjs
Marc Mintel a12759d507
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 8s
Build & Deploy / 🧪 QA (push) Failing after 59s
Build & Deploy / 🏗️ Build (push) Has been skipped
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
chore: standardize ESM-first architecture and resolve all type/test/lint errors
2026-02-11 01:33:44 +01:00

12 lines
346 B
JavaScript

/* eslint-disable no-undef */
/* eslint-env node */
const path = require('path');
const buildEslintCommand = (filenames) =>
`eslint --fix ${filenames.map((f) => path.relative(process.cwd(), f)).join(' ')}`;
module.exports = {
'*.{js,jsx,ts,tsx}': [buildEslintCommand, 'prettier --write'],
'*.{json,md,css,scss}': ['prettier --write'],
};