mirror of
https://github.com/zulip/zulip.git
synced 2025-10-23 04:52:12 +00:00
eslint: Remove and prohibit unused eslint-disable directives.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
@@ -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).")
|
||||
|
Reference in New Issue
Block a user