@haltcase/style 1.0.0-canary.5 → 1.0.0-canary.7

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.
@@ -66,6 +66,22 @@ module.exports = {
66
66
  selector: "interface"
67
67
  }
68
68
  ],
69
+ /**
70
+ * Disallow Promises in places not designed to handle them.
71
+ *
72
+ * Function arguments and JSX attributes are allowed.
73
+ *
74
+ * 🚫 Not fixable - https://typescript-eslint.io/rules/no-misused-promises
75
+ */
76
+ "@typescript-eslint/no-misused-promises": [
77
+ error,
78
+ {
79
+ checksVoidReturn: {
80
+ arguments: false,
81
+ attributes: false
82
+ }
83
+ }
84
+ ],
69
85
  /**
70
86
  * Disallow members of unions and intersections that do nothing or override type information.
71
87
  *
@@ -619,6 +619,10 @@ module.exports = {
619
619
  "unicorn/prevent-abbreviations": [
620
620
  error,
621
621
  {
622
+ ignore: [
623
+ // e.g., `next-env.d.ts` filename
624
+ /.+-env\.d/
625
+ ],
622
626
  replacements: {
623
627
  args: false,
624
628
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@haltcase/style",
3
- "version": "1.0.0-canary.5",
3
+ "version": "1.0.0-canary.7",
4
4
  "description": "haltcase's web ecosystem style guide & configurations",
5
5
  "keywords": [
6
6
  "eslint",