TSLint: re-enable no-trailing-whitespace rule

This commit is contained in:
glacambre 2019-04-10 06:39:19 +02:00
parent a7281585e4
commit 3ff4713247
No known key found for this signature in database
GPG key ID: B9625DB1767553AC
7 changed files with 12 additions and 10 deletions

View file

@ -37,8 +37,10 @@ else
fi
# .bracketexpr.generated.ts is needed for metadata generation
"$(npm bin)/nearleyc" src/grammars/bracketexpr.ne \
> src/grammars/.bracketexpr.generated.ts
(
printf '/* tslint:disable:no-trailing-whitespace */\n'
"$(npm bin)/nearleyc" src/grammars/bracketexpr.ne
) > src/grammars/.bracketexpr.generated.ts
# It's important to generate the metadata before the documentation because
# missing imports might break documentation generation on clean builds

View file

@ -1,6 +1,7 @@
/* tslint:disable:array-type */
/* tslint:disable:comment-format */
/* tslint:disable:no-consecutive-blank-lines */
/* tslint:disable:no-trailing-whitespace */
/* tslint:disable:quotemark */
// '//#' is a start point for a simple text-replacement-type macro. See excmds_macros.py

View file

@ -23,7 +23,6 @@
"no-identical-functions": false,
"no-shadowed-variable": false,
"no-string-throw": false,
"no-trailing-whitespace": false,
"no-unnecessary-initializer": false,
"no-unsafe-finally": false,
"no-var-keyword": false,