mirror of https://github.com/zulip/zulip.git
lint: Further recognize more JavaScript file extensions.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
parent
ff70ab441d
commit
9506950f09
|
@ -12,7 +12,7 @@ trim_trailing_whitespace = true
|
||||||
binary_next_line = true
|
binary_next_line = true
|
||||||
switch_case_indent = true
|
switch_case_indent = true
|
||||||
|
|
||||||
[{*.{js,json,ts},check-openapi}]
|
[{*.{cjs,cts,js,json,mjs,mts,ts},check-openapi}]
|
||||||
max_line_length = 100
|
max_line_length = 100
|
||||||
|
|
||||||
[*.{py,pyi}]
|
[*.{py,pyi}]
|
||||||
|
|
|
@ -155,7 +155,7 @@ module.exports = {
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
files: ["**/*.ts"],
|
files: ["**/*.cts", "**/*.mts", "**/*.ts"],
|
||||||
excludedFiles: "help-beta/**",
|
excludedFiles: "help-beta/**",
|
||||||
extends: [
|
extends: [
|
||||||
"plugin:@typescript-eslint/strict-type-checked",
|
"plugin:@typescript-eslint/strict-type-checked",
|
||||||
|
|
Loading…
Reference in New Issue