|
@ -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: { |
|
|