@repodog/eslint-config 1.0.1-alpha.0 → 1.0.2-alpha.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/index.cjs +5 -7
  2. package/package.json +1 -1
package/index.cjs CHANGED
@@ -100,9 +100,7 @@ module.exports = {
100
100
  },
101
101
  {
102
102
  files: ['**/*.{mjs,cjs,js,jsx}'],
103
- rules: {
104
- 'import/extensions': [2, 'always'],
105
- },
103
+ rules: {},
106
104
  },
107
105
  ],
108
106
  parser: '@babel/eslint-parser',
@@ -123,8 +121,8 @@ module.exports = {
123
121
  'prettier',
124
122
  ],
125
123
  rules: {
126
- // Conflicts with aliasing .ts files as .js in import paths
127
- 'import/extensions': 0,
124
+ 'import/extensions': [2, 'ignorePackages'],
125
+ 'import/namespace': 0,
128
126
  'import/no-default-export': 2,
129
127
  // Outstanding bug impacting this rule: https://github.com/import-js/eslint-plugin-import/issues/2168
130
128
  'import/no-extraneous-dependencies': [
@@ -183,9 +181,9 @@ module.exports = {
183
181
  { blankLine: 'always', next: 'singleline-const', prev: 'cjs-import' },
184
182
  { blankLine: 'always', next: 'singleline-let', prev: 'cjs-import' },
185
183
  { blankLine: 'always', next: '*', prev: 'multiline-const' },
186
- { blankLine: 'always', next: 'multiline-const', prev: 'multiline-const' },
184
+ { blankLine: 'always', next: 'multiline-const', prev: '*' },
187
185
  { blankLine: 'always', next: '*', prev: 'multiline-let' },
188
- { blankLine: 'always', next: 'multiline-const', prev: 'multiline-let' },
186
+ { blankLine: 'always', next: 'multiline-let', prev: '*' },
189
187
  { blankLine: 'never', next: 'cjs-export', prev: 'cjs-export' },
190
188
  { blankLine: 'never', next: 'cjs-import', prev: 'cjs-import' },
191
189
  { blankLine: 'always', next: 'case', prev: '*' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@repodog/eslint-config",
3
- "version": "1.0.1-alpha.0",
3
+ "version": "1.0.2-alpha.0",
4
4
  "description": "The RepoDog ESLint config module.",
5
5
  "homepage": "https://github.com/badbatch/repodog",
6
6
  "bugs": {