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/max-len #2874

Merged
merged 34 commits into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
fb0bbee
feat(oxc_linter): add max_len rule
woai3c Mar 30, 2024
1a74529
Merge branch 'oxc-project:main' into main
woai3c Mar 30, 2024
45a0bde
feat: support max-len
woai3c Apr 12, 2024
e838dbf
wip: cache
woai3c Apr 14, 2024
e595c43
perf: implement the code without using regular expressions.
woai3c Apr 14, 2024
e447840
chore: remove dead code.
woai3c Apr 14, 2024
61fb4db
Merge branch 'oxc-project:main' into main
woai3c Apr 14, 2024
de9359f
feat: support jsx
woai3c Apr 16, 2024
406beae
refactor: encapsulate updated_comments generation
woai3c Apr 16, 2024
09f108a
Merge branch 'main' into main
woai3c Apr 16, 2024
7e9fd6e
fix: clippy error.
woai3c Apr 16, 2024
f5afd8b
Merge branch 'oxc-project:main' into main
woai3c Apr 16, 2024
c322639
fix: out of bounds
woai3c Apr 16, 2024
51da05f
Merge branch 'oxc-project:main' into main
woai3c Apr 16, 2024
4f70ab1
Merge branch 'main' of github.com:woai3c/oxc
woai3c Apr 16, 2024
16eb297
refactor: is_first_token_on_line -> is_first_token_on_first_line
woai3c Apr 16, 2024
48b2eda
fix: out of bounds
woai3c Apr 16, 2024
f7ac32a
fix: spell check error
woai3c Apr 16, 2024
945e450
Merge branch 'main' into main
woai3c Apr 16, 2024
17cdb55
chore: updated_comments.len() -> comments_len
woai3c Apr 16, 2024
df0fc53
Merge branch 'main' of github.com:woai3c/oxc
woai3c Apr 16, 2024
7a2f24b
Merge branch 'main' into main
mysteryven Apr 16, 2024
f0b58a0
chore: add config file
mysteryven Apr 17, 2024
481c775
chore: change config file path
mysteryven Apr 17, 2024
e3385e2
fix: value.get(0) should be "error", not a valid value.
woai3c Apr 17, 2024
16bc03e
Merge branches 'main' and 'main' of github.com:woai3c/oxc
woai3c Apr 17, 2024
1316e9e
chore: accept 200 to test benchmark
mysteryven Apr 17, 2024
f46d0b6
chore: format
mysteryven Apr 18, 2024
212d898
chore: remove the prefix of "error"
woai3c Apr 18, 2024
ce01f90
Merge branch 'main' into main
woai3c Apr 18, 2024
b953cfd
chore: accept 300 to test benchmark
mysteryven Apr 18, 2024
852ecdb
chore: change default back
mysteryven Apr 18, 2024
0cd6c0d
chore: iterator nodes once
mysteryven Apr 18, 2024
e72520f
chore: change category to style
mysteryven Apr 19, 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
2 changes: 2 additions & 0 deletions crates/oxc_linter/src/rules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ mod eslint {
pub mod for_direction;
pub mod getter_return;
pub mod guard_for_in;
pub mod max_len;
pub mod max_lines;
pub mod max_params;
pub mod no_array_constructor;
Expand Down Expand Up @@ -390,6 +391,7 @@ oxc_macros::declare_all_lint_rules! {
eslint::for_direction,
eslint::getter_return,
eslint::guard_for_in,
eslint::max_len,
eslint::max_lines,
eslint::max_params,
eslint::no_ternary,
Expand Down
Loading
Loading