Commit 690abec
committed
test(linter/plugins): use subpath imports (#15920)
Shorten imports in test fixtures using [subpath imports](https://nodejs.org/docs/latest-v24.x/api/packages.html#subpath-imports).
Before:
```ts
import type { Plugin } from '../../../dist/index.js';
```
After:
```ts
import type { Plugin } from '#oxlint';
```1 parent ca7a6d3 commit 690abec
File tree
48 files changed
+53
-50
lines changed- apps/oxlint
- test/fixtures
- basic_custom_plugin_many_files
- basic_custom_plugin_multiple_rules
- basic_custom_plugin_warn_severity
- basic_custom_plugin
- comments
- context_properties
- context_wrapping
- createOnce
- custom_plugin_disable_directives
- custom_plugin_lint_after_hook_error
- custom_plugin_lint_before_hook_error
- custom_plugin_lint_createOnce_error
- custom_plugin_lint_create_error
- custom_plugin_lint_fix_error
- custom_plugin_lint_visit_error
- custom_plugin_missing_rule
- custom_plugin_nested_config_duplicate
- custom_plugin_nested_config
- custom_plugin_via_overrides_missing_rule
- custom_plugin_via_overrides
- definePlugin_and_defineRule
- definePlugin
- defineRule
- diagnostic_loc
- estree
- fixes
- isSpaceBetween
- languageOptions
- load_paths/plugins
- message_id_error
- message_id_interpolation
- message_id_plugin
- message_interpolation
- parent
- parser_services
- reserved_name
- scope_manager
- selector
- settings
- sourceCode_late_access_after_only
- sourceCode_late_access
- sourceCode_scope_methods
- sourceCode
- unicode_comments
- utf16_offsets
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
48 files changed
+53
-50
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments