favycon/lint-staged.config.js
Rui Saraiva b183cc9fef
feat: setup next, eslint, stylelint, and typescript (#5)
* feat: setup next, eslint, stylelint, and typescript

* ci: add Semantic Pull Requests config

* ci: add renovate config

* ci: add commit lint workflow

* ci: add code lint workflow

* ci: add release workflow

* docs(ci): add status badges for release, lint, and commitlint

* ci: add now config

* chore: update repo name

* ci(release): remove assets from release
2020-04-10 22:34:32 +01:00

8 lines
225 B
JavaScript

module.exports = {
'*.{ts,tsx}': () => 'tsc -p tsconfig.json --noEmit',
'*.tsx': ['eslint --fix', 'stylelint --fix'],
'*.{js,ts}': ['eslint --fix'],
'*.json': ['prettier --write'],
'*.{css,scss}': ['stylelint --fix'],
}