oxc/crates
camchenry 20d9080d59 fix(linter)!: override plugins array when passed in config file (#7303)
- fixes https://github.com/oxc-project/oxc/issues/6896

When the `plugins` config property is specified, it will overwrite the default plugins array. This allows the plugins list to be easily customized and allows for disabling default plugins at the same time as enabling non-default ones.

- example: `{ "plugins": [] }` will enable no plugins.
- example: `{ }` will enable default plugins.
- example: `{ "plugins": ["typescript", "import"] }` will enable only the import and typescript plugins.
2024-11-16 05:54:05 +00:00
..
oxc release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_allocator release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_ast docs(ast): improve docs examples for PropertyDefinition (#7287) 2024-11-14 22:28:14 +00:00
oxc_ast_macros release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_cfg release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_codegen fix(codegen): fix arithmetic overflow printing unspanned nodes (#7292) 2024-11-15 16:04:02 +00:00
oxc_data_structures feat(data_structures): add methods to SparseStack (#7305) 2024-11-16 05:36:36 +00:00
oxc_diagnostics feat(linter): support overrides config field (#6974) 2024-11-13 05:40:59 +00:00
oxc_ecmascript release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_estree release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_index release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_isolated_declarations refactor(ast)!: rename TSEnumMemberName enum variants (#7250) 2024-11-12 12:22:21 +00:00
oxc_language_server fix(language_server): revalidate files when oxlint config is changing (#7259) 2024-11-14 10:45:17 +08:00
oxc_linter fix(linter)!: override plugins array when passed in config file (#7303) 2024-11-16 05:54:05 +00:00
oxc_macros feat(linter): support user-configurable secrets for oxc-security/api-keys (#5938) 2024-10-28 18:55:19 +00:00
oxc_mangler release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_minifier test(minifier): fix minimize condition tests (#7222) 2024-11-11 08:36:19 +00:00
oxc_module_lexer release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_parser refactor(ast)!: rename TSEnumMemberName enum variants (#7250) 2024-11-12 12:22:21 +00:00
oxc_prettier refactor(ast)!: rename TSEnumMemberName enum variants (#7250) 2024-11-12 12:22:21 +00:00
oxc_regular_expression release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_semantic refactor(semantic): shorten code (#7277) 2024-11-14 12:50:06 +00:00
oxc_sourcemap release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_span release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_syntax release(crates): v0.36.0 (#7227) 2024-11-10 00:31:14 +08:00
oxc_transformer refactor(transformer): helper loader methods take Span (#7304) 2024-11-16 05:36:35 +00:00
oxc_traverse feat(traverse): add methods for creating Expression::Identifiers (#7301) 2024-11-16 05:36:35 +00:00
oxc_wasm feat(transformer)!: change API to take a &TransformOptions instead of TransformOptions (#7213) 2024-11-09 06:01:13 +00:00