@ornikar/eslint-config-typescript-react 17.1.0-alpha.0 → 18.2.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 +23 -3
  2. package/app.js +28 -0
  3. package/package.json +6 -6
package/CHANGELOG.md CHANGED
@@ -3,18 +3,38 @@
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
- # [17.1.0-alpha.0](https://github.com/ornikar/eslint-configs/compare/v17.0.0...v17.1.0-alpha.0) (2022-02-21)
6
+ # [18.2.0](https://github.com/ornikar/eslint-configs/compare/v18.1.0...v18.2.0) (2022-03-17)
7
+
8
+ **Note:** Version bump only for package @ornikar/eslint-config-typescript-react
9
+
10
+
11
+
12
+
13
+
14
+ # [18.1.0](https://github.com/ornikar/eslint-configs/compare/v18.0.0...v18.1.0) (2022-03-15)
15
+
16
+ **Note:** Version bump only for package @ornikar/eslint-config-typescript-react
17
+
18
+
19
+
20
+
21
+
22
+ # [18.0.0](https://github.com/ornikar/eslint-configs/compare/v17.0.0...v18.0.0) (2022-03-01)
23
+
24
+
25
+ ### chore
26
+
27
+ * **deps:** update dependency eslint to v8 ([#243](https://github.com/ornikar/eslint-configs/issues/243)) ([0789aee](https://github.com/ornikar/eslint-configs/commit/0789aee18b6a74673d187b3348faef8a792edae9))
7
28
 
8
29
 
9
30
  ### Features
10
31
 
11
32
  * **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))
12
- * requires eslint 8 ([bc560a7](https://github.com/ornikar/eslint-configs/commit/bc560a7fbec17a6f95c2e7beba239e6f258fdbcb))
13
33
 
14
34
 
15
35
  ### BREAKING CHANGES
16
36
 
17
- * requires eslint 8
37
+ * **deps:** requires eslint 8
18
38
  * **deps:** new rules added by the update of plugins and configs
19
39
 
20
40
 
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": "17.1.0-alpha.0",
3
+ "version": "18.2.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": "^17.1.0-alpha.0",
16
- "@ornikar/eslint-config-typescript": "^17.1.0-alpha.0"
15
+ "@ornikar/eslint-config-react": "^18.2.0",
16
+ "@ornikar/eslint-config-typescript": "^18.2.0"
17
17
  },
18
18
  "peerDependencies": {
19
19
  "eslint": "^8.9.0",
20
20
  "prettier": "^2.2.1"
21
21
  },
22
22
  "devDependencies": {
23
- "@types/react": "17.0.39",
24
- "eslint": "8.9.0",
23
+ "@types/react": "17.0.40",
24
+ "eslint": "8.11.0",
25
25
  "react": "17.0.2",
26
26
  "type-fest": "2.12.0"
27
27
  },
28
- "gitHead": "820554a71706217a44a0eae768ad5d4b455a617a"
28
+ "gitHead": "835ff557fd278ce964f999930d071d4fae6f5eba"
29
29
  }