@t4h.framework/eslint-config 0.2.1 → 0.2.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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @t4h.framework/eslint-config
2
2
 
3
+ ## 0.2.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [`42bc95b`](https://github.com/tech4humans-brasil/framework/commit/42bc95b048e5cdd0ca109c899b733b13c4e5c982) Thanks [@gusteycamargo](https://github.com/gusteycamargo)! - `max-depth` allows 3 nested blocks, the team limit. It allowed 2.
8
+
3
9
  ## 0.2.1
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -22,7 +22,7 @@ To add or change rules, put your configs after the options. They come last,
22
22
  so they win:
23
23
 
24
24
  ```javascript
25
- export default framework({}, { rules: { 'max-depth': ['error', 3] } })
25
+ export default framework({}, { rules: { 'max-depth': ['error', 4] } })
26
26
  ```
27
27
 
28
28
  ```json
@@ -78,7 +78,7 @@ export const base = [
78
78
  'newlines-between': 'always',
79
79
  },
80
80
  ],
81
- 'max-depth': ['error', 2],
81
+ 'max-depth': ['error', 3],
82
82
  'no-nested-ternary': 'error',
83
83
  'no-lonely-if': 'error',
84
84
  'no-else-return': ['error', { allowElseIf: false }],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@t4h.framework/eslint-config",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "description": "ESLint and Prettier configuration for the T4H Framework",
5
5
  "homepage": "https://github.com/tech4humans-brasil/framework/tree/main/packages/eslint-config",
6
6
  "bugs": "https://github.com/tech4humans-brasil/framework/issues",