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

Commit

Permalink
docs: better documentation for rule
Browse files Browse the repository at this point in the history
  • Loading branch information
ematipico committed Jun 30, 2023
1 parent 08645a8 commit 10c1851
Show file tree
Hide file tree
Showing 8 changed files with 1,001 additions and 926 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ use rome_js_syntax::{JsFileSource, Language, TextRange, TsAsExpression, TsRefere
use rome_rowan::AstNode;

declare_rule! {
/// Prevents the usage of variables that haven't been declared inside the document
/// Prevents the usage of variables that haven't been declared inside the document.
///
/// If you need to allow-list some global bindings, you can use the [`javascript.globals`](/configuration/#javascriptglobals) configuration.
///
/// ## Examples
///
Expand Down
2 changes: 1 addition & 1 deletion crates/rome_service/src/configuration/linter/rules.rs

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

2 changes: 1 addition & 1 deletion editors/vscode/configuration_schema.json

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

2 changes: 1 addition & 1 deletion npm/backend-jsonrpc/src/workspace.ts

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

2 changes: 1 addition & 1 deletion npm/rome/configuration_schema.json

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

Loading

0 comments on commit 10c1851

Please sign in to comment.