Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(linter): implement typescript/no-magic-numbers #4745

Merged
merged 30 commits into from
Sep 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
c1439be
feat(linter): implement eslint/no-magic-numbers
Sysix Aug 7, 2024
af754c5
feat(linter): implement eslint/no-magic-numbers
Sysix Aug 7, 2024
60927d1
feat(linter): implement eslint/no-magic-numbers
Sysix Aug 10, 2024
a921faa
feat(linter): implement eslint/no-magic-numbers
Sysix Sep 1, 2024
c99f856
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 1, 2024
a223b1d
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 1, 2024
41d0dc4
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 1, 2024
0de0e77
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 1, 2024
f29d2d0
Merge branch 'eslint-no-magic-numbers' of https://github.com/Sysix/ox…
Sysix Sep 1, 2024
04c4d3c
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 1, 2024
54bff0a
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 1, 2024
8e13c42
Merge branch 'eslint-no-magic-numbers' of https://github.com/Sysix/ox…
Sysix Sep 1, 2024
066fa35
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 1, 2024
a72f3d0
Merge branch 'main' into eslint-no-magic-numbers
Sysix Sep 1, 2024
25afd14
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 2, 2024
074e95f
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 2, 2024
e1a1566
Merge branch 'eslint-no-magic-numbers' of https://github.com/Sysix/ox…
Sysix Sep 2, 2024
a03bafe
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 2, 2024
18018cb
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 3, 2024
3b43cfb
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 3, 2024
4402749
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 3, 2024
89d4415
Merge branch 'main' into eslint-no-magic-numbers
DonIsaac Sep 6, 2024
eed6516
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 6, 2024
bf7b95c
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 6, 2024
d6511bc
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 6, 2024
a2ee498
Merge branch 'eslint-no-magic-numbers' of https://github.com/Sysix/ox…
Sysix Sep 6, 2024
974041f
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 6, 2024
e7a02a5
[autofix.ci] apply automated fixes
autofix-ci[bot] Sep 6, 2024
584c892
feat(linter): implement typescript/no-magic-numbers
Sysix Sep 6, 2024
94f7c43
Merge branch 'eslint-no-magic-numbers' of https://github.com/Sysix/ox…
Sysix Sep 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ mod typescript {
pub mod no_extra_non_null_assertion;
pub mod no_extraneous_class;
pub mod no_import_type_side_effects;
pub mod no_magic_numbers;
pub mod no_misused_new;
pub mod no_namespace;
pub mod no_non_null_asserted_nullish_coalescing;
Expand Down Expand Up @@ -502,7 +503,6 @@ oxc_macros::declare_all_lint_rules! {
eslint::no_caller,
eslint::no_case_declarations,
eslint::no_class_assign,
eslint::no_multi_str,
eslint::no_label_var,
eslint::require_await,
eslint::no_compare_neg_zero,
Expand Down Expand Up @@ -537,6 +537,7 @@ oxc_macros::declare_all_lint_rules! {
eslint::no_irregular_whitespace,
eslint::no_iterator,
eslint::no_loss_of_precision,
eslint::no_multi_str,
eslint::no_new,
eslint::no_new_func,
eslint::no_new_wrappers,
Expand Down Expand Up @@ -597,6 +598,7 @@ oxc_macros::declare_all_lint_rules! {
typescript::no_explicit_any,
typescript::no_extra_non_null_assertion,
typescript::no_import_type_side_effects,
typescript::no_magic_numbers,
typescript::no_misused_new,
typescript::no_namespace,
typescript::no_non_null_asserted_optional_chain,
Expand Down
Loading