Browse Source

Disables eslint caching -- causes too many issues

main
Eric Amodio 2 years ago
parent
commit
69accb6992
1 changed files with 6 additions and 6 deletions
  1. +6
    -6
      webpack.config.js

+ 6
- 6
webpack.config.js View File

@ -63,11 +63,11 @@ function getExtensionConfig(target, mode, env) {
enabled: true, enabled: true,
files: 'src/**/*.ts', files: 'src/**/*.ts',
options: { options: {
cache: true,
cacheLocation: path.join(
__dirname,
target === 'webworker' ? '.eslintcache.browser' : '.eslintcache',
),
// cache: true,
// cacheLocation: path.join(
// __dirname,
// target === 'webworker' ? '.eslintcache.browser' : '.eslintcache',
// ),
overrideConfigFile: path.join( overrideConfigFile: path.join(
__dirname, __dirname,
target === 'webworker' ? '.eslintrc.browser.json' : '.eslintrc.json', target === 'webworker' ? '.eslintrc.browser.json' : '.eslintrc.json',
@ -303,7 +303,7 @@ function getWebviewsConfig(mode, env) {
eslint: { eslint: {
enabled: true, enabled: true,
files: path.join(basePath, '**', '*.ts'), files: path.join(basePath, '**', '*.ts'),
options: { cache: true },
// options: { cache: true },
}, },
formatter: 'basic', formatter: 'basic',
typescript: { typescript: {

Loading…
Cancel
Save