@tim-code/eslint-config 1.2.2 → 1.2.4
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/.eslintrc.js +2 -1
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -16,7 +16,7 @@ module.exports = {
|
|
|
16
16
|
extends: ["eslint:all", "prettier", "plugin:import/recommended"],
|
|
17
17
|
overrides: [
|
|
18
18
|
{
|
|
19
|
-
files: ["**/*.test.*", "**/test/**"],
|
|
19
|
+
files: ["**/*.test.*", "**/*.spec.*", "**/test/**"],
|
|
20
20
|
env: {
|
|
21
21
|
jest: true,
|
|
22
22
|
},
|
|
@@ -129,5 +129,6 @@ module.exports = {
|
|
|
129
129
|
// disabled too often
|
|
130
130
|
"no-console": "off", // console error was already allowed; when is console.log actually bad?
|
|
131
131
|
"no-await-in-loop": "off", // warning about language feature, unavoidable
|
|
132
|
+
"require-atomic-updates": "off", // variables can change unexpectedly in parallelism due to another thread... this rule is way too noisy though
|
|
132
133
|
},
|
|
133
134
|
}
|