glitch-soc/streaming/lint-staged.config.mjs

8 lines
171 B
JavaScript

const config = {
'*': 'prettier --ignore-unknown --write',
'*.{js,ts}': 'eslint --fix',
'**/*.ts': () => 'tsc -p tsconfig.json --noEmit',
};
export default config;