Skip to content

Commit

Permalink
chore: codegen and resolve conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
unvalley committed Sep 15, 2023
1 parent 9ba590d commit ae65f27
Show file tree
Hide file tree
Showing 15 changed files with 1,389 additions and 1,355 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ Read our [guidelines for writing a good changelog entry](https://github.com/biom
### Formatter
### JavaScript APIs
### Linter

#### New features

- Add [noMisleadingInstantiator](https://biomejs.dev/linter/rules/no-mileading-instantiator) rule. The rule reports the misleading use of the `new` and `constructor` methods. Contributed by [@unvalley](https://github.com/unvalley)

### Parser
### VSCode

Expand Down
1 change: 1 addition & 0 deletions crates/biome_diagnostics_categories/src/categories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ define_categories! {
"lint/nursery/noFallthroughSwitchClause": "https://biomejs.dev/linter/rules/no-fallthrough-switch-clause",
"lint/nursery/noGlobalIsFinite": "https://biomejs.dev/linter/rules/no-global-is-finite",
"lint/nursery/noGlobalIsNan": "https://biomejs.dev/linter/rules/no-global-is-nan",
"lint/nursery/noMisleadingInstantiator": "https://biomejs.dev/linter/rules/no-misleading-instantiator",
"lint/nursery/noVoid": "https://biomejs.dev/linter/rules/no-void",
"lint/nursery/useArrowFunction": "https://biomejs.dev/linter/rules/use-arrow-function",
"lint/nursery/useBiomeSuppressionComment": "https://biomejs.dev/lint/rules/use-biome-suppression-comment",
Expand Down
2 changes: 2 additions & 0 deletions crates/biome_js_analyze/src/analyzers/nursery.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,15 @@ declare_rule! {
/// ### Invalid
///
/// ```ts,expect_diagnostic
/// declare class C {
/// new(): C;
/// interface I {
/// new (): I;
/// constructor(): void;
/// }
/// ```
///
/// ```ts,expect_diagnostic
/// interface I {
/// new (): I;
/// constructor(): void;
/// class C {
/// new(): C;
/// }
/// ```
///
Expand Down
Loading

0 comments on commit ae65f27

Please sign in to comment.