@foray1010/eslint-config 7.7.0 → 7.7.1

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
@@ -3,6 +3,13 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.7.1](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@7.7.0...@foray1010/eslint-config@7.7.1) (2022-10-01)
7
+
8
+ ### Bug Fixes
9
+
10
+ - **eslint-config:** allow commonjs globals as we haven't moved to es modules ([08ab8d0](https://github.com/foray1010/common-presets/commit/08ab8d09244e2314de611a4fb1fda8552a958515))
11
+ - **eslint-config:** allow webextensions globals in frontend ([7624ed5](https://github.com/foray1010/common-presets/commit/7624ed5f5e2c710a5d1abbb831b476190aca32d5))
12
+
6
13
  ## [7.7.0](https://github.com/foray1010/common-presets/compare/@foray1010/eslint-config@7.6.1...@foray1010/eslint-config@7.7.0) (2022-10-01)
7
14
 
8
15
  ### Features
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/package",
3
3
  "name": "@foray1010/eslint-config",
4
- "version": "7.7.0",
4
+ "version": "7.7.1",
5
5
  "homepage": "https://github.com/foray1010/common-presets/tree/master/packages/eslint-config#readme",
6
6
  "bugs": "https://github.com/foray1010/common-presets/issues",
7
7
  "repository": {
@@ -56,5 +56,5 @@
56
56
  "publishConfig": {
57
57
  "access": "public"
58
58
  },
59
- "gitHead": "8a9de7e7659db21109b2b328116706ff9e9d48ec"
59
+ "gitHead": "ecc4d8bbdfe9a51e4c6214723f029978a777a37e"
60
60
  }
package/presets/base.js CHANGED
@@ -177,6 +177,10 @@ module.exports = {
177
177
  '@typescript-eslint/eslint-plugin',
178
178
  'eslint-plugin-functional',
179
179
  ],
180
+ env: {
181
+ // allow commonjs globals as we haven't moved to es modules
182
+ commonjs: true,
183
+ },
180
184
  rules: {
181
185
  // extend existing rule
182
186
  '@typescript-eslint/ban-types': [
@@ -8,6 +8,7 @@ module.exports = {
8
8
  plugins: ['eslint-plugin-compat'],
9
9
  env: {
10
10
  browser: true,
11
+ webextensions: true,
11
12
  },
12
13
  globals: {
13
14
  // keep it until webpack has an official way to define env: https://github.com/webpack/webpack/issues/15833