Commit d8d9c74
feat(linter): implement import/newline-after-import rule (#19142)
Implemented the `import/newline-after-import` rule.
- [Original
code](https://github.com/import-js/eslint-plugin-import/blob/main/src/rules/newline-after-import.js)
- [Original
tests](https://github.com/import-js/eslint-plugin-import/blob/main/tests/src/rules/newline-after-import.js)
- [Original
docs](https://github.com/import-js/eslint-plugin-import/blob/main/docs/rules/newline-after-import.md)
## Related issues
#1117
## Disclose AI usage
This PR was written with assistance from Codex.
---------
Co-authored-by: Cameron <cameron.clark@hey.com>
Co-authored-by: Cam McHenry <camchenry@users.noreply.github.com>1 parent bb22240 commit d8d9c74
8 files changed
Lines changed: 1940 additions & 1 deletion
File tree
- apps/oxlint/src-js/package
- crates/oxc_linter/src
- generated
- rules/import
- snapshots
- npm/oxlint
- tasks/website_linter/src/snapshots
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
| 544 | + | |
544 | 545 | | |
545 | 546 | | |
546 | 547 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments