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): eslint/sort-keys #4845

Merged
merged 37 commits into from
Sep 11, 2024
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
37 commits
Select commit Hold shift + click to select a range
9841b35
chore: added scaffolding for eslint/sort-keys
Goldziher Aug 11, 2024
3a8fad3
feat: sorts-keys initial implementation
Goldziher Aug 11, 2024
898ccdd
feat: add sorting logic
Goldziher Aug 12, 2024
ef83c4f
feat: almost passing tests
Goldziher Aug 12, 2024
5843013
Merge branch 'oxc-project:main' into main
Goldziher Aug 12, 2024
5e800bd
Merge branch 'main' into main
Goldziher Aug 12, 2024
c5bdecb
chore: addressed review comments
Goldziher Aug 12, 2024
0d777a1
Merge branch 'main' of github.com:Goldziher/oxc
Goldziher Aug 12, 2024
f60501f
chore: update doc string
Goldziher Aug 12, 2024
cda74f5
Update Cargo.toml
Goldziher Aug 13, 2024
2bf85a7
chore: revert unintentional change to cargo.toml
Goldziher Aug 13, 2024
4668554
Merge branch 'main' into main
Goldziher Aug 13, 2024
b99ab32
Merge branch 'main' into main
DonIsaac Aug 13, 2024
298c240
Merge branch 'oxc-project:main' into main
Goldziher Aug 14, 2024
34e9aef
chore: fix failing snapshot
Goldziher Aug 14, 2024
ab43240
Merge branch 'main' into main
DonIsaac Aug 14, 2024
091f773
chore: run just r
Goldziher Aug 14, 2024
8cd8e75
Merge branch 'main' into main
Goldziher Aug 14, 2024
ca29640
Merge branch 'main' of github.com:Goldziher/oxc
Goldziher Aug 14, 2024
9b3cbca
Merge branch 'main' into main
Goldziher Aug 18, 2024
8315aa0
chore: fixed clippy issues
Goldziher Aug 18, 2024
232b5f0
chore: added semi-columns to examples
Goldziher Aug 18, 2024
3cd0ec8
Merge branch 'main' into main
DonIsaac Aug 19, 2024
a28963b
chore: fix missing equal signs
Goldziher Aug 19, 2024
aaa6772
Merge branch 'main' of github.com:Goldziher/oxc
Goldziher Aug 19, 2024
e61002d
Merge branch 'main' into main
Goldziher Aug 19, 2024
d31c9bd
Merge branch 'main' into main
Goldziher Aug 22, 2024
6c8b4c8
chore: removed todo comments
Goldziher Aug 22, 2024
b35a82e
Merge branch 'main' of github.com:Goldziher/oxc
Goldziher Aug 22, 2024
8b21362
Merge branch 'main' into main
DonIsaac Aug 31, 2024
1e027f1
Merge branch 'main' into main
DonIsaac Sep 6, 2024
719b608
chore: address review comments
Goldziher Sep 6, 2024
c82506c
Merge branch 'main' of github.com:oxc-project/oxc
Goldziher Sep 7, 2024
7f9fa78
chore: synced with upstream
Goldziher Sep 11, 2024
a3a7128
chore: ignore clippy issue
Goldziher Sep 11, 2024
f9547ff
chore: applied just r
Goldziher Sep 11, 2024
45418d6
Merge branch 'main' into main
DonIsaac Sep 11, 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
36 changes: 19 additions & 17 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ mod eslint {
pub mod require_await;
pub mod require_yield;
pub mod sort_imports;
pub mod sort_keys;
pub mod symbol_description;
pub mod unicode_bom;
pub mod use_isnan;
Expand Down Expand Up @@ -473,24 +474,20 @@ oxc_macros::declare_all_lint_rules! {
eslint::max_classes_per_file,
eslint::max_lines,
eslint::max_params,
eslint::no_ternary,
eslint::no_this_before_super,
eslint::no_template_curly_in_string,
eslint::no_array_constructor,
eslint::no_async_promise_executor,
eslint::no_await_in_loop,
eslint::no_bitwise,
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,
eslint::no_cond_assign,
eslint::no_console,
eslint::no_const_assign,
eslint::no_constant_binary_expression,
eslint::no_constant_condition,
eslint::no_constructor_return,
eslint::no_continue,
eslint::no_control_regex,
eslint::no_debugger,
Expand All @@ -505,62 +502,67 @@ oxc_macros::declare_all_lint_rules! {
eslint::no_empty_function,
eslint::no_empty_pattern,
eslint::no_empty_static_block,
eslint::no_eq_null,
eslint::no_eval,
eslint::no_ex_assign,
eslint::no_extra_boolean_cast,
eslint::no_eq_null,
eslint::no_fallthrough,
eslint::no_func_assign,
eslint::no_global_assign,
eslint::no_import_assign,
eslint::no_inner_declarations,
eslint::no_irregular_whitespace,
eslint::no_iterator,
eslint::no_label_var,
eslint::no_loss_of_precision,
eslint::no_multi_str,
eslint::no_new,
eslint::no_new_native_nonconstructor,
eslint::no_new_wrappers,
eslint::no_nonoctal_decimal_escape,
eslint::no_obj_calls,
eslint::no_proto,
eslint::no_prototype_builtins,
eslint::no_redeclare,
eslint::no_regex_spaces,
eslint::no_restricted_globals,
eslint::no_script_url,
eslint::no_self_assign,
eslint::no_self_compare,
eslint::no_setter_return,
eslint::no_shadow_restricted_names,
eslint::no_sparse_arrays,
eslint::no_template_curly_in_string,
eslint::no_ternary,
eslint::no_this_before_super,
eslint::no_undef,
eslint::no_undefined,
eslint::no_unreachable,
eslint::no_unsafe_finally,
eslint::no_unsafe_negation,
eslint::no_unsafe_optional_chaining,
eslint::no_unused_labels,
eslint::no_unused_vars,
eslint::no_unused_private_class_members,
eslint::no_unused_vars,
eslint::no_useless_catch,
eslint::no_useless_escape,
eslint::no_useless_rename,
eslint::no_useless_concat,
eslint::no_useless_constructor,
eslint::no_useless_escape,
eslint::no_useless_rename,
eslint::no_var,
eslint::no_void,
eslint::no_with,
eslint::prefer_exponentiation_operator,
eslint::prefer_numeric_literals,
eslint::radix,
eslint::require_await,
eslint::require_yield,
eslint::symbol_description,
eslint::sort_imports,
eslint::sort_keys,
eslint::symbol_description,
eslint::unicode_bom,
eslint::use_isnan,
eslint::valid_typeof,
eslint::no_await_in_loop,
eslint::no_new_native_nonconstructor,
eslint::no_restricted_globals,
eslint::prefer_exponentiation_operator,
eslint::prefer_numeric_literals,
eslint::no_constructor_return,
typescript::adjacent_overload_signatures,
typescript::array_type,
typescript::ban_ts_comment,
Expand Down
Loading
Loading