@kununu/eslint-config 5.3.0 → 5.4.0-beta-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/index.js +3 -2
- package/package.json +2 -1
package/index.js
CHANGED
|
@@ -218,7 +218,7 @@ const baseRules = {
|
|
|
218
218
|
message: 'Prefer early returns over logical expressions in return statements. Use if (condition) return value; instead.'
|
|
219
219
|
}
|
|
220
220
|
],
|
|
221
|
-
|
|
221
|
+
'granular-selectors/granular-selectors': 'error',
|
|
222
222
|
};
|
|
223
223
|
|
|
224
224
|
module.exports = {
|
|
@@ -237,7 +237,8 @@ module.exports = {
|
|
|
237
237
|
plugins: [
|
|
238
238
|
'@babel',
|
|
239
239
|
'lodash',
|
|
240
|
-
'sort-destructure-keys'
|
|
240
|
+
'sort-destructure-keys',
|
|
241
|
+
'granular-selectors'
|
|
241
242
|
],
|
|
242
243
|
|
|
243
244
|
env: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kununu/eslint-config",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.4.0-beta-1",
|
|
4
4
|
"description": "kununu's ESLint config",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"repository": "kununu/eslint-config",
|
|
@@ -36,6 +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.0.0",
|
|
39
40
|
"eslint-plugin-import": "2.31.0",
|
|
40
41
|
"eslint-plugin-jest-dom": "5.5.0",
|
|
41
42
|
"eslint-plugin-jsx-a11y": "6.10.2",
|