@kununu/eslint-config 5.0.6 → 5.1.0

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.
@@ -23,13 +23,13 @@ jobs:
23
23
 
24
24
  steps:
25
25
  - name: Checkout Source
26
- uses: actions/checkout@v3
26
+ uses: actions/checkout@v4
27
27
  with:
28
28
  fetch-depth: 0
29
29
  token: ${{ secrets.KUNUNU_BOT_GITHUB_TOKEN }}
30
30
 
31
31
  - name: Setup Node
32
- uses: actions/setup-node@v3
32
+ uses: actions/setup-node@v4
33
33
  with:
34
34
  node-version: '20'
35
35
  cache: 'npm'
package/index.js CHANGED
@@ -198,6 +198,8 @@ const baseRules = {
198
198
  'pathGroupsExcludedImportTypes': ['react']
199
199
  }
200
200
  ],
201
+
202
+ 'lodash/import-scope': [2, 'method']
201
203
  };
202
204
 
203
205
  module.exports = {
@@ -215,6 +217,7 @@ module.exports = {
215
217
 
216
218
  plugins: [
217
219
  '@babel',
220
+ 'lodash',
218
221
  'sort-destructure-keys'
219
222
  ],
220
223
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kununu/eslint-config",
3
- "version": "5.0.6",
3
+ "version": "5.1.0",
4
4
  "description": "kununu's ESLint config",
5
5
  "main": "index.js",
6
6
  "repository": "kununu/eslint-config",
@@ -29,8 +29,8 @@
29
29
  "@babel/core": "7.24.7",
30
30
  "@babel/eslint-parser": "7.24.7",
31
31
  "@babel/eslint-plugin": "7.24.7",
32
- "@typescript-eslint/eslint-plugin": "7.13.1",
33
- "@typescript-eslint/parser": "7.13.1",
32
+ "@typescript-eslint/eslint-plugin": "7.14.1",
33
+ "@typescript-eslint/parser": "7.14.1",
34
34
  "eslint": "8.57.0",
35
35
  "eslint-config-airbnb": "19.0.4",
36
36
  "eslint-config-airbnb-typescript": "18.0.0",
@@ -39,6 +39,7 @@
39
39
  "eslint-plugin-import": "2.29.1",
40
40
  "eslint-plugin-jest-dom": "5.4.0",
41
41
  "eslint-plugin-jsx-a11y": "6.9.0",
42
+ "eslint-plugin-lodash": "7.4.0",
42
43
  "eslint-plugin-prettier": "5.1.3",
43
44
  "eslint-plugin-react": "7.34.3",
44
45
  "eslint-plugin-react-hooks": "4.6.2",