Toolkit: don't create declaration files for plugins (by default) (#22228)
This commit is contained in:
@@ -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"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user