@momsfriendlydevco/eslint-config 2.1.0 → 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.
- package/index.js +4 -0
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -58,7 +58,11 @@ export default [
|
|
|
58
58
|
'unicorn/catch-error-name': ['off'],
|
|
59
59
|
'unicorn/explicit-length-check': ['off'],
|
|
60
60
|
'unicorn/filename-case': ['off'], // Disabled globally (gets re-enabled for .vue files)
|
|
61
|
+
'unicorn/no-array-callback-reference': ['off'], // Overly aggressively attaches itself to all .find() operations
|
|
62
|
+
'unicorn/no-await-expression-member': ['off'], // There is nothing wrong with `(await thing).prop`
|
|
61
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
|
|
62
66
|
'unicorn/prefer-logical-operator-over-ternary': ['off'],
|
|
63
67
|
'unicorn/prefer-string-raw': ['off'], // Just a downright weird rule
|
|
64
68
|
'unicorn/prefer-spread': ['off'],
|
package/package.json
CHANGED