eslint-config-beslogic 3.1.1 → 3.1.2

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,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.1.2
4
+
5
+ - Removed `globalThis` from `no-restricted-globals` as the adoption is now much wider (no more IE11) and it conflicts with `unicorn/prefer-global-this`
6
+
3
7
  ## 3.1.1
4
8
 
5
9
  - Turned on `"objectLiteralTypeAssertions": "allow-as-parameter"` as error for `@typescript-eslint/consistent-type-assertions` in extra-strict config
package/javascript.js CHANGED
@@ -913,7 +913,6 @@ module.exports = {
913
913
  "no-promise-executor-return": "error",
914
914
  "no-restricted-globals": [
915
915
  "error",
916
- "globalThis",
917
916
  ...restrictedGlobals,
918
917
  {
919
918
  "message": "Please import from react instead.",
package/node-js.js CHANGED
@@ -84,7 +84,6 @@ module.exports = {
84
84
  "no-console": "error",
85
85
  "no-restricted-globals": [
86
86
  "error",
87
- "globalThis",
88
87
  {
89
88
  "name": "Request",
90
89
  "message": expressGlobalMessage
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-beslogic",
3
- "version": "3.1.1",
3
+ "version": "3.1.2",
4
4
  "description": "ESLint rules, plugins and configs used at Beslogic",
5
5
  "main": "index.js",
6
6
  "// dependencies": "Run for ourselves when we install dependencies w/o running npm i afterward",