rulint 1.0.2 → 1.0.3

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/dist/main.js CHANGED
@@ -105,7 +105,7 @@ var js_rules = {
105
105
  },
106
106
  {
107
107
  selector: "CallExpression[callee.property.name='then']",
108
- message: "Use try/catch instead."
108
+ message: "Use await instead."
109
109
  },
110
110
  {
111
111
  selector: "CallExpression[callee.property.name='catch']",
package/dist/main.mjs CHANGED
@@ -69,7 +69,7 @@ var js_rules = {
69
69
  },
70
70
  {
71
71
  selector: "CallExpression[callee.property.name='then']",
72
- message: "Use try/catch instead."
72
+ message: "Use await instead."
73
73
  },
74
74
  {
75
75
  selector: "CallExpression[callee.property.name='catch']",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rulint",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Strict ESLint presets for modern TypeScript projects.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://github.com/keift/rulint",