Toolkit: don't create declaration files for plugins (by default) (#22228)

This commit is contained in:
Ryan McKinley
2020-02-15 09:05:07 -08:00
committed by GitHub
parent 69c512d5f4
commit 21b53b7d79
2 changed files with 3 additions and 1 deletions
@@ -66,6 +66,7 @@ export const lintPlugin = useSpinner<Fixable>('Linting', async ({ fix }) => {
try {
// Show a warning if the tslint file exists
await fs.access(resolvePath(process.cwd(), 'tslint.json'));
console.log('\n');
console.log('--------------------------------------------------------------');
console.log('NOTE: @grafana/toolkit has migrated to use eslint');
console.log('Update your configs to use .eslintrc rather than tslint.json');
@@ -1,6 +1,7 @@
{
"compilerOptions": {
"alwaysStrict": true
"alwaysStrict": true,
"declaration": false
},
"extends": "@grafana/tsconfig"
}