mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Build: enable caching in eslint plugin (#64325)
enable caching in eslint plugin
This commit is contained in:
parent
4a1c18abf6
commit
0c0d63b830
@ -88,8 +88,8 @@ module.exports = (env = {}) =>
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
}),
|
}),
|
||||||
// next major version of ForkTsChecker is dropping support for ESLint
|
|
||||||
new ESLintPlugin({
|
new ESLintPlugin({
|
||||||
|
cache: true,
|
||||||
lintDirtyModulesOnly: true, // don't lint on start, only lint changed files
|
lintDirtyModulesOnly: true, // don't lint on start, only lint changed files
|
||||||
extensions: ['.ts', '.tsx'],
|
extensions: ['.ts', '.tsx'],
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user