chore(linter): remove extra spacing (#141)

This commit is contained in:
Shannon Rothe 2023-03-07 09:25:14 +11:00 committed by GitHub
parent d4a10e3fac
commit b3dfb0ab51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 5 deletions

View file

@ -33,7 +33,6 @@ declare_oxc_lint!(
/// When the Array constructor is called with a single number argument, an array with the specified number of empty slots (not actual undefined values) is constructed.
/// If a callback function is passed to the function of this array, the callback function is never invoked because the array has no actual elements.
///
///
/// ### Example
/// ```javascript
/// const list = new Array(5).map(_ => createElement());

View file

@ -33,7 +33,6 @@ declare_oxc_lint!(
/// ### Why is this bad?
/// A for loop that is known to run infinitely or never run is considered a bug.
///
///
/// ### Example
/// ```javascript
/// for (var i = 0; i < 10; i--) {}

View file

@ -23,7 +23,6 @@ declare_oxc_lint!(
/// Use of the Array constructor to construct a new array is generally discouraged in favor of array literal notation because of the single-argument pitfall and because the Array global may be redefined.
/// The exception is when the Array constructor is used to intentionally create sparse arrays of a specified size by giving the constructor a single numeric argument.
///
///
/// ### Example
/// ```javascript
/// let arr = new Array();

View file

@ -23,7 +23,6 @@ declare_oxc_lint!(
/// `debugger` statements do not affect functionality when a debugger isn't attached.
/// They're most commonly an accidental debugging leftover.
///
///
/// ### Example
/// ```javascript
/// const data = await getData();

View file

@ -25,7 +25,6 @@ declare_oxc_lint!(
/// Empty block statements, while not technically errors, usually occur due to refactoring that wasnt completed.
/// They can cause confusion when reading code.
///
///
/// ### Example
/// ```javascript
/// if (condition) {