@kununu/eslint-config 5.4.1-beta-2 → 5.4.1-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 -1
- package/package.json +2 -2
package/index.js
CHANGED
|
@@ -240,7 +240,11 @@ const baseRules = {
|
|
|
240
240
|
message: 'Prefer early returns over logical expressions in return statements. Use if (condition) return value; instead.'
|
|
241
241
|
}
|
|
242
242
|
],
|
|
243
|
-
|
|
243
|
+
|
|
244
|
+
'granular-selectors/granular-selectors': ['error', {
|
|
245
|
+
// Array of patterns to include for selector function detection
|
|
246
|
+
include: ['use.*Selector.*', 'use.*Store.*']
|
|
247
|
+
}]
|
|
244
248
|
};
|
|
245
249
|
|
|
246
250
|
module.exports = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kununu/eslint-config",
|
|
3
|
-
"version": "5.4.1-beta-
|
|
3
|
+
"version": "5.4.1-beta-4",
|
|
4
4
|
"description": "kununu's ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "kununu/eslint-config",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"eslint-config-airbnb-typescript": "18.0.0",
|
|
37
37
|
"eslint-config-prettier": "9.1.0",
|
|
38
38
|
"eslint-import-resolver-alias": "1.1.2",
|
|
39
|
-
"eslint-plugin-granular-selectors": "1.
|
|
39
|
+
"eslint-plugin-granular-selectors": "1.3.0",
|
|
40
40
|
"eslint-plugin-import": "2.31.0",
|
|
41
41
|
"eslint-plugin-jest-dom": "5.5.0",
|
|
42
42
|
"eslint-plugin-jsx-a11y": "6.10.2",
|