Skip to content

Commit 8b1c72c

Browse files
committed
eslint: Enable caching
Makes re-running eslint faster on dev environments. Change-Id: I71656d8e3f889203cd5a2ccf4a76676d2ba60f74
1 parent 6038e69 commit 8b1c72c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ node_modules
1414
npm-debug.log
1515
rebaser/config.yaml
1616
rebaser/rebaser.log
17+
.eslintcache
1718

1819
# OS
1920
.DS_Store

Gruntfile.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,8 @@ module.exports = function ( grunt ) {
339339
},
340340
eslint: {
341341
options: {
342-
reportUnusedDisableDirectives: true
342+
reportUnusedDisableDirectives: true,
343+
cache: true
343344
},
344345
main: [
345346
'*.js',

0 commit comments

Comments
 (0)