eslint: Remove and prohibit unused eslint-disable directives.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2020-12-10 18:08:45 -08:00
parent b3aa44c914
commit c7a6902fe3
10 changed files with 10 additions and 12 deletions

View File

@@ -53,7 +53,7 @@ def run() -> None:
description="Standard CSS style and formatting linter "
"(config: stylelint.config.js)")
linter_config.external_linter('eslint', ['node', 'node_modules/.bin/eslint',
'--quiet', '--cache', '--ext', '.js,.ts'], ['js', 'ts'],
'--max-warnings=0', '--cache', '--ext', '.js,.ts'], ['js', 'ts'],
fix_arg='--fix',
description="Standard JavaScript style and formatting linter "
"(config: .eslintrc).")