Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

Commit

Permalink
refactor(rome_js_analyze): remove useCamleCase
Browse files Browse the repository at this point in the history
  • Loading branch information
Conaclos committed Aug 3, 2023
1 parent 2492ee2 commit c410741
Show file tree
Hide file tree
Showing 16 changed files with 26 additions and 712 deletions.
8 changes: 6 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,13 +128,17 @@ if no error diagnostics are emitted.

- [`noDuplicateParameters`](https://docs.rome.tools/lint/rules/noduplicateparameters/): enhanced rule to manage constructor parameters.

#### BREAKING CHANGES
#### Removed rules

- Remove `lint/complexity/noExtraSemicolon` ([#4553](https://github.com/rome/tools/issues/4553))
- Remove `complexity/noExtraSemicolon` ([#4553](https://github.com/rome/tools/issues/4553))

The _Rome_ formatter takes care of removing extra semicolons.
Thus, there is no need for this rule.

- Remove `useCamelCase`

Use [`useNamingConvention`](https://docs.rome.tools/lint/rules/useCamelCase/) instead.

#### New rules

- Add [`noFallthroughSwitchClause`](https://docs.rome.tools/lint/rules/noFallthroughSwitchClause/)
Expand Down
1 change: 0 additions & 1 deletion crates/rome_diagnostics_categories/src/categories.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ define_categories! {
"lint/nursery/noVoid": "https://docs.rome.tools/lint/rules/noVoid",
"lint/nursery/useAriaPropTypes": "https://docs.rome.tools/lint/rules/useAriaPropTypes",
"lint/nursery/useArrowFunction": "https://docs.rome.tools/lint/rules/useArrowFunction",
"lint/nursery/useCamelCase": "https://docs.rome.tools/lint/rules/useCamelCase",
"lint/nursery/useExhaustiveDependencies": "https://docs.rome.tools/lint/rules/useExhaustiveDependencies",
"lint/nursery/useGroupedTypeImport": "https://docs.rome.tools/lint/rules/useGroupedTypeImport",
"lint/nursery/useHookAtTopLevel": "https://docs.rome.tools/lint/rules/useHookAtTopLevel",
Expand Down
2 changes: 0 additions & 2 deletions crates/rome_js_analyze/src/semantic_analyzers/nursery.rs

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

This file was deleted.

This file was deleted.

0 comments on commit c410741

Please sign in to comment.