mirror of
https://github.com/google/blockly.git
synced 2026-01-08 17:40:09 +01:00
chore: enable linting ts files (#6351)
* chore: initial setup for linting ts * chore: Temporarily disable most of the rules causing problems * chore: fix autofixable problems. * chore: ignore the last few files and rules * chore: fix remaining lint errors * chore: fix more small lint * chore: run original rules on js files, new ts rules on ts files * chore: use jsdoc style return in js files * chore: add lint fix script * chore: fix prefer-spread lint * chore: fix no-invalid-this rule * chore: fix no-unused-vars * chore: fix trashcan lint
This commit is contained in:
committed by
GitHub
parent
9830641cb7
commit
49f87fba79
@@ -150,9 +150,9 @@ export class Options {
|
||||
deprecation.warn('path', 'Nov 2014', 'Jul 2023', 'media');
|
||||
pathToMedia = (options as any)['path'] + 'media/';
|
||||
}
|
||||
let oneBasedIndex;
|
||||
const rawOneBasedIndex = options['oneBasedIndex'];
|
||||
oneBasedIndex = rawOneBasedIndex === undefined ? true : rawOneBasedIndex;
|
||||
const oneBasedIndex =
|
||||
rawOneBasedIndex === undefined ? true : rawOneBasedIndex;
|
||||
const renderer = options['renderer'] || 'geras';
|
||||
|
||||
const plugins = options['plugins'] || {};
|
||||
|
||||
Reference in New Issue
Block a user