@momsfriendlydevco/eslint-config 2.1.1 → 2.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.
Files changed (2) hide show
  1. package/index.js +2 -0
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -61,6 +61,8 @@ export default [
61
61
  'unicorn/no-array-callback-reference': ['off'], // Overly aggressively attaches itself to all .find() operations
62
62
  'unicorn/no-await-expression-member': ['off'], // There is nothing wrong with `(await thing).prop`
63
63
  'unicorn/no-empty-file': ['off'], // Breaks interface files + schema files with just JSDoc
64
+ 'unicorn/no-this-assignment': ['off'], // Not allowing escape hatches to `this` when nesting functions is just dumb
65
+ 'unicorn/no-useless-promise-resolve-reject': ['off'], // Constant complaints about using `throw` within simple promise chains
64
66
  'unicorn/prefer-logical-operator-over-ternary': ['off'],
65
67
  'unicorn/prefer-string-raw': ['off'], // Just a downright weird rule
66
68
  'unicorn/prefer-spread': ['off'],
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@momsfriendlydevco/eslint-config",
3
3
  "description": "ESLint plugin for @MomsFriendlyDevCo projects",
4
- "version": "2.1.1",
4
+ "version": "2.1.2",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "test": "eslint --config index.js test/data"