@will-stone/eslint-config 0.0.3 → 0.0.4

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,12 @@
1
1
  # @will-stone/eslint-config
2
2
 
3
+ ## 0.0.4
4
+
5
+ ### Patch Changes
6
+
7
+ - Fixed no browser globals available. Puting these in all files for now, but
8
+ maybe should be based on something else?
9
+
3
10
  ## 0.0.3
4
11
 
5
12
  ### Patch Changes
package/eslint-config.js CHANGED
@@ -84,7 +84,10 @@ export default [
84
84
  {
85
85
  files: ['**/*.{js,cjs,mjs,jsx,ts,tsx}'],
86
86
  languageOptions: {
87
- globals: isNode && globals.node,
87
+ globals: {
88
+ ...globals.browser,
89
+ ...(isNode && globals.node),
90
+ },
88
91
  },
89
92
  plugins: {
90
93
  'import': importPlugin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@will-stone/eslint-config",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "Will Stone's ESLint config, using the Flat Config style.",
5
5
  "keywords": [
6
6
  "ESLint"