@wistia/oxlint-config 1.3.0 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/rules/base.mjs +1 -1
- package/rules/import.mjs +2 -7
package/package.json
CHANGED
package/rules/base.mjs
CHANGED
|
@@ -818,7 +818,7 @@ export const baseRules = {
|
|
|
818
818
|
|
|
819
819
|
// Enforce sorted import declarations within modules
|
|
820
820
|
// https://oxc.rs/docs/guide/usage/linter/rules/eslint/sort-imports.html
|
|
821
|
-
// Decision: handled by import
|
|
821
|
+
// Decision: handled by oxfmt's import sorting
|
|
822
822
|
'eslint/sort-imports': 'off',
|
|
823
823
|
|
|
824
824
|
// Require object keys to be sorted
|
package/rules/import.mjs
CHANGED
|
@@ -192,13 +192,8 @@ export const importRules = {
|
|
|
192
192
|
|
|
193
193
|
// Ensure absolute imports are above relative imports
|
|
194
194
|
// https://github.com/un-ts/eslint-plugin-import-x/blob/master/docs/rules/order.md
|
|
195
|
-
'import
|
|
196
|
-
|
|
197
|
-
{
|
|
198
|
-
groups: ['type', ['builtin', 'external', 'internal'], 'index', ['parent', 'sibling']],
|
|
199
|
-
'newlines-between': 'never',
|
|
200
|
-
},
|
|
201
|
-
],
|
|
195
|
+
// Decision: handled by oxfmt's import sorting (https://oxc.rs/docs/guide/usage/formatter/sorting.html)
|
|
196
|
+
'import-x-js/order': 'off',
|
|
202
197
|
|
|
203
198
|
// Require a newline after the last import/require in a group
|
|
204
199
|
// https://github.com/un-ts/eslint-plugin-import-x/blob/master/docs/rules/newline-after-import.md
|