@repodog/eslint-config 9.0.5 → 9.0.7

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/index.mjs +5 -5
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -107,6 +107,8 @@ export default tsEslint.config(
107
107
  'eslint-comments/disable-enable-pair': 0,
108
108
  'import-x/extensions': [2, 'ignorePackages'],
109
109
  'import-x/namespace': 0,
110
+ // This rule doesn't work on typescript files currently.
111
+ // https://github.com/un-ts/eslint-plugin-import-x/issues/144
110
112
  'import-x/no-default-export': 2,
111
113
  'import-x/no-extraneous-dependencies': [
112
114
  2,
@@ -122,7 +124,6 @@ export default tsEslint.config(
122
124
  '**/__mocks__/**',
123
125
  '**/.storybook/**',
124
126
  ],
125
- peerDependencies: false,
126
127
  },
127
128
  ],
128
129
  'import-x/order': [
@@ -303,12 +304,11 @@ export default tsEslint.config(
303
304
  extends: [prettierRecommended],
304
305
  files: ['**/*.{mjs,cjs,js,jsx,ts,tsx}'],
305
306
  },
306
- {
307
- extends: [prettierRecommended],
308
- files: ['**/*.{mjs,cjs,js,jsx,ts,tsx}'],
309
- },
310
307
  {
311
308
  files: ['**/*.{spec,test}.*', '**/__testUtils__/**'],
309
+ plugins: {
310
+ '@typescript-eslint': tsEslint.plugin,
311
+ },
312
312
  rules: {
313
313
  '@typescript-eslint/consistent-type-assertions': [
314
314
  2,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@repodog/eslint-config",
3
3
  "description": "The Repodog ESLint config module.",
4
- "version": "9.0.5",
4
+ "version": "9.0.7",
5
5
  "author": "Dylan Aubrey",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/badbatch/repodog",