@will-stone/eslint-config 0.0.6 → 0.0.8

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @will-stone/eslint-config
2
2
 
3
+ ## 0.0.8
4
+
5
+ ### Patch Changes
6
+
7
+ - 25101d4: Ignore some common build folders.
8
+
9
+ ## 0.0.7
10
+
11
+ ### Patch Changes
12
+
13
+ - 3882d03: Fixed not finding mock files.
14
+
3
15
  ## 0.0.6
4
16
 
5
17
  ### Patch Changes
package/eslint-config.js CHANGED
@@ -73,6 +73,8 @@ const isNode =
73
73
  export default [
74
74
  // Global
75
75
  {
76
+ // Common build folders
77
+ ignores: ['**/.webpack/', '**/dist/', '**/.astro/'],
76
78
  settings: {
77
79
  react: {
78
80
  version: 'detect',
@@ -145,7 +147,10 @@ export default [
145
147
  ...(testingFramework === 'jest'
146
148
  ? [
147
149
  {
148
- files: ['**/__mocks__/', '**/*.{spec,test}.{js,cjs,mjs,jsx,ts,tsx}'],
150
+ files: [
151
+ '**/__mocks__/**/*',
152
+ '**/*.{spec,test}.{js,cjs,mjs,jsx,ts,tsx}',
153
+ ],
149
154
  languageOptions: {
150
155
  globals: globals.jest,
151
156
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@will-stone/eslint-config",
3
- "version": "0.0.6",
3
+ "version": "0.0.8",
4
4
  "description": "Will Stone's ESLint config, using the Flat Config style.",
5
5
  "keywords": [
6
6
  "ESLint"