weboptimizer 2.0.1137 → 2.0.1138

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 (1) hide show
  1. package/package.json +17 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "weboptimizer",
3
- "version": "2.0.1137",
3
+ "version": "2.0.1138",
4
4
  "description": "A generic web optimizer, (module) bundler and development environment.",
5
5
  "keywords": [
6
6
  "webpack",
@@ -1764,6 +1764,14 @@
1764
1764
  ],
1765
1765
  "rules": {
1766
1766
  "@typescript-eslint/no-non-null-assertion": 0,
1767
+ "@typescript-eslint/no-this-alias": [
1768
+ "error",
1769
+ {
1770
+ "allowedNames": [
1771
+ "self"
1772
+ ]
1773
+ }
1774
+ ],
1767
1775
  "@typescript-eslint/no-unused-vars": [
1768
1776
  "error",
1769
1777
  {
@@ -1815,6 +1823,14 @@
1815
1823
  10
1816
1824
  ],
1817
1825
  "no-invalid-this": 0,
1826
+ "no-this-assignment": [
1827
+ true,
1828
+ {
1829
+ "allowed-names": [
1830
+ "^self$"
1831
+ ]
1832
+ }
1833
+ ],
1818
1834
  "no-unused-vars": [
1819
1835
  "error",
1820
1836
  {