Skip to content

Commit

Permalink
Enabled ESLint cache.
Browse files Browse the repository at this point in the history
  • Loading branch information
radekmie committed Jul 10, 2021
1 parent 994de46 commit 2dc2c69
Show file tree
Hide file tree
Showing 3 changed files with 219 additions and 106 deletions.
4 changes: 3 additions & 1 deletion .lintstagedrc.js
@@ -1,6 +1,8 @@
module.exports = {
'**/*.css': ['stylelint'],
'**/*.{js,ts,tsx}': ['eslint'],
'**/*.{js,ts,tsx}': [
'eslint --cache --cache-location node_modules/.cache/eslint --cache-strategy content',
],
'**/*.{json,md,mdx,yml}': ['prettier --check'],
'**/*.{ts,tsx}': () => 'npm run lint:types'
};

0 comments on commit 2dc2c69

Please sign in to comment.