eslint-plugin-crisp 1.2.9 → 1.2.10

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/README.md CHANGED
@@ -61,6 +61,7 @@ Each item has emojis denoting:
61
61
  | Name | Description | 🟠 | 🟢 | 🟣 |
62
62
  | :- | :- | :- | :- | :- |
63
63
  | [arrow-parens](https://eslint.org/docs/latest/rules/arrow-parens) | Requires parentheses around arrow function arguments | 🟠 | 🟢 | 🟣 |
64
+ | [arrow-body-style](https://eslint.org/docs/latest/rules/arrow-body-style) | Requires braces around arrow function bodies | | 🟢 | 🟣 |
64
65
  | [brace-style](https://eslint.org/docs/latest/rules/brace-style) | Enforces one true brace style for blocks | 🟠 | 🟢 | 🟣 |
65
66
  | [comma-dangle](https://eslint.org/docs/latest/rules/comma-dangle) | Disallows trailing commas | 🟠 | 🟢 | 🟣 |
66
67
  | [comma-spacing](https://eslint.org/docs/latest/rules/comma-spacing) | Enforces consistent spacing before and after commas | | 🟢 | 🟣 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-crisp",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "Custom ESLint Rules for Crisp",
5
5
  "author": "Crisp IM SAS",
6
6
  "main": "index.js",
package/recommended-ts.js CHANGED
@@ -32,6 +32,7 @@ export default function configRecommendedTS(pluginCrisp) {
32
32
 
33
33
  // General JS rules
34
34
  "arrow-parens": ["error", "always"],
35
+ "arrow-body-style": ["error", "always"],
35
36
  "brace-style": [
36
37
  "error",
37
38
  "1tbs",
@@ -49,6 +49,7 @@ export default function configRecommendedVue(pluginCrisp) {
49
49
  rules: {
50
50
  // General JS rules
51
51
  "arrow-parens": ["error", "always"],
52
+ "arrow-body-style": ["error", "always"],
52
53
  "brace-style": [
53
54
  "error",
54
55
  "1tbs",