@evanpurkhiser/oxc-config 0.4.0 → 0.5.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.
Files changed (2) hide show
  1. package/package.json +1 -4
  2. package/src/common.mjs +0 -20
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package.json",
3
3
  "name": "@evanpurkhiser/oxc-config",
4
- "version": "0.4.0",
4
+ "version": "0.5.0",
5
5
  "description": "Evan Purkhiser's personal Oxc configuration",
6
6
  "license": "MIT",
7
7
  "author": "Evan Purkhiser",
@@ -21,9 +21,6 @@
21
21
  "format:check": "oxfmt --check .",
22
22
  "check": "npm run lint && npm run format:check"
23
23
  },
24
- "dependencies": {
25
- "eslint-plugin-simple-import-sort": "^12.1.1"
26
- },
27
24
  "devDependencies": {
28
25
  "oxfmt": "^0.41.0",
29
26
  "oxlint": "^1.56.0",
package/src/common.mjs CHANGED
@@ -1,10 +1,6 @@
1
- import {builtinModules} from 'node:module';
2
-
3
1
  const common = {
4
2
  plugins: ['eslint', 'typescript', 'unicorn', 'oxc', 'import', 'react'],
5
3
 
6
- jsPlugins: ['eslint-plugin-simple-import-sort'],
7
-
8
4
  rules: {
9
5
  // Best practices
10
6
  'array-callback-return': ['warn'],
@@ -59,22 +55,6 @@ const common = {
59
55
  'typescript/no-unused-expressions': ['error'],
60
56
  'typescript/no-useless-constructor': ['error'],
61
57
  'typescript/array-type': ['error', {default: 'array-simple'}],
62
-
63
- // Sort imports
64
- 'simple-import-sort/exports': 'error',
65
- 'simple-import-sort/imports': [
66
- 'error',
67
- {
68
- groups: [
69
- ['^\\u0000'],
70
- ['^react', '^@?\\w'],
71
- [`^(${builtinModules.join('|')})(/|$)`],
72
- ['^(src|app)(/.*|$)'],
73
- ['^\\.\\.(?!/?$)', '^\\.\\./?$'],
74
- ['^\\./(?=.*/)(?!/?$)', '^\\.(?!/?$)', '^\\./?$'],
75
- ],
76
- },
77
- ],
78
58
  },
79
59
  };
80
60