@kununu/eslint-config 5.3.0-beta-2 → 5.3.0-beta-4
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/index.js +5 -2
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -214,7 +214,6 @@ module.exports = {
|
|
|
214
214
|
'plugin:prettier/recommended',
|
|
215
215
|
'plugin:react-hooks/recommended',
|
|
216
216
|
'plugin:testing-library/react',
|
|
217
|
-
'plugin:shopify/prefer-early-return',
|
|
218
217
|
],
|
|
219
218
|
|
|
220
219
|
parser: '@babel/eslint-parser',
|
|
@@ -223,6 +222,7 @@ module.exports = {
|
|
|
223
222
|
'@babel',
|
|
224
223
|
'lodash',
|
|
225
224
|
'sort-destructure-keys',
|
|
225
|
+
'@shopify',
|
|
226
226
|
],
|
|
227
227
|
|
|
228
228
|
env: {
|
|
@@ -232,7 +232,10 @@ module.exports = {
|
|
|
232
232
|
es6: true,
|
|
233
233
|
},
|
|
234
234
|
|
|
235
|
-
rules:
|
|
235
|
+
rules: {
|
|
236
|
+
...baseRules,
|
|
237
|
+
'@shopify/prefer-early-return': 'error',
|
|
238
|
+
},
|
|
236
239
|
|
|
237
240
|
overrides: [{
|
|
238
241
|
files: [
|