@ornikar/eslint-config-typescript-react 16.5.1 → 18.0.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +38 -0
  2. package/app.js +28 -0
  3. package/package.json +8 -8
package/CHANGELOG.md CHANGED
@@ -3,6 +3,44 @@
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
+ # [18.0.0](https://github.com/ornikar/eslint-configs/compare/v17.0.0...v18.0.0) (2022-03-01)
7
+
8
+
9
+ ### chore
10
+
11
+ * **deps:** update dependency eslint to v8 ([#243](https://github.com/ornikar/eslint-configs/issues/243)) ([0789aee](https://github.com/ornikar/eslint-configs/commit/0789aee18b6a74673d187b3348faef8a792edae9))
12
+
13
+
14
+ ### Features
15
+
16
+ * **deps:** update dependency eslint-config-airbnb to v19 ([#208](https://github.com/ornikar/eslint-configs/issues/208)) ([89d1da2](https://github.com/ornikar/eslint-configs/commit/89d1da243d6c6e99a836e4164fed38be771536a4))
17
+
18
+
19
+ ### BREAKING CHANGES
20
+
21
+ * **deps:** requires eslint 8
22
+ * **deps:** new rules added by the update of plugins and configs
23
+
24
+
25
+
26
+
27
+
28
+ # [17.0.0](https://github.com/ornikar/eslint-configs/compare/v16.5.1...v17.0.0) (2022-01-07)
29
+
30
+
31
+ ### Features
32
+
33
+ * use jsx-runtime [no issue] ([#183](https://github.com/ornikar/eslint-configs/issues/183)) ([f580faf](https://github.com/ornikar/eslint-configs/commit/f580faf0c4ab887aa9d7541b88bb2839f386dbbc))
34
+
35
+
36
+ ### BREAKING CHANGES
37
+
38
+ * requires to use jsx-runtime first.
39
+
40
+
41
+
42
+
43
+
6
44
  ## [16.5.1](https://github.com/ornikar/eslint-configs/compare/v16.5.0...v16.5.1) (2022-01-05)
7
45
 
8
46
  **Note:** Version bump only for package @ornikar/eslint-config-typescript-react
package/app.js ADDED
@@ -0,0 +1,28 @@
1
+ 'use strict';
2
+
3
+ module.exports = {
4
+ extends: ['@ornikar/eslint-config-typescript/app'].map(require.resolve),
5
+ overrides: [
6
+ {
7
+ files: ['**/stories.{ts,tsx}', '**/stories/**/*.{ts,tsx}', '**/storybook/**/*.{ts,tsx}'],
8
+ settings: {
9
+ 'import/core-modules': [
10
+ '@storybook/react',
11
+ '@storybook/addons',
12
+ '@storybook/addon-actions',
13
+ '@storybook/addon-knobs',
14
+ '@storybook/addon-link',
15
+ ],
16
+ },
17
+ rules: {
18
+ 'import/no-extraneous-dependencies': [
19
+ 'error',
20
+ {
21
+ devDependencies: true,
22
+ },
23
+ ],
24
+ 'react/function-component-definition': 'warn',
25
+ },
26
+ },
27
+ ],
28
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ornikar/eslint-config-typescript-react",
3
- "version": "16.5.1",
3
+ "version": "18.0.0",
4
4
  "description": "eslint typescript react config files",
5
5
  "repository": "ornikar/eslint-configs",
6
6
  "main": "index.js",
@@ -12,18 +12,18 @@
12
12
  "access": "public"
13
13
  },
14
14
  "dependencies": {
15
- "@ornikar/eslint-config-react": "^16.2.0",
16
- "@ornikar/eslint-config-typescript": "^16.5.1"
15
+ "@ornikar/eslint-config-react": "^18.0.0",
16
+ "@ornikar/eslint-config-typescript": "^18.0.0"
17
17
  },
18
18
  "peerDependencies": {
19
- "eslint": "^7.32.0",
19
+ "eslint": "^8.9.0",
20
20
  "prettier": "^2.2.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/react": "17.0.38",
24
- "eslint": "7.32.0",
23
+ "@types/react": "17.0.39",
24
+ "eslint": "8.9.0",
25
25
  "react": "17.0.2",
26
- "type-fest": "2.8.0"
26
+ "type-fest": "2.12.0"
27
27
  },
28
- "gitHead": "fb30ca9e74c96f4328defe71866224c00eea1e68"
28
+ "gitHead": "85693c5fb8c3ef37ab6426f359e62abda69b8325"
29
29
  }