portainer/lint-staged.config.js

7 lines
195 B
JavaScript
Raw Normal View History

module.exports = {
'*.(js|ts){,x}': 'eslint --cache --fix',
'*.(ts){,x}': () => 'tsc --noEmit',
'*.{js,ts,tsx,css,md,html,json}': 'prettier --write',
'*.go': () => 'make lint-server',
};