@scaleway/eslint-config-react 2.2.0 → 2.2.1

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
@@ -3,6 +3,15 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ### 2.2.1 (2021-09-16)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * change no constructed context values to error ([#383](https://github.com/scaleway/scaleway-lib/issues/383)) ([94eb4e3](https://github.com/scaleway/scaleway-lib/commit/94eb4e3231ffd872280ae02f19ba294b1e39c99e))
12
+
13
+
14
+
6
15
  ## 2.2.0 (2021-09-09)
7
16
 
8
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/eslint-config-react",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Scaleway React eslint shared config",
5
5
  "keywords": [
6
6
  "eslint",
@@ -33,5 +33,5 @@
33
33
  "peerDependencies": {
34
34
  "eslint": "7.x"
35
35
  },
36
- "gitHead": "08581aa76ce256529d8aa0650913a4b5840b277e"
36
+ "gitHead": "8085a8d8cf6112207f72ea91dbd45a73845cf8af"
37
37
  }
package/shared.js CHANGED
@@ -53,7 +53,7 @@ module.exports = {
53
53
  ],
54
54
  // These are rules soon to be enabled by airbnb react config
55
55
  // We're getting a head start
56
- 'react/jsx-no-constructed-context-values': 'warn', // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-constructed-context-values.md
56
+ 'react/jsx-no-constructed-context-values': 'error', // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-constructed-context-values.md
57
57
  'react/jsx-no-script-url': 'error', // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-script-url.md
58
58
  'react/jsx-no-useless-fragment': 'error', // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-no-useless-fragment.md
59
59
  'react/no-adjacent-inline-elements': 'error', // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/no-adjacent-inline-elements.md