@wishket/eslint-config-wishket 0.2.7 → 0.2.9

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.
@@ -2,4 +2,4 @@
2
2
  '@wishket/eslint-config-wishket': patch
3
3
  ---
4
4
 
5
- Publish with tag 0.2.7
5
+ Publish with tag 0.2.9
@@ -52,7 +52,6 @@ jobs:
52
52
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
53
53
  GITHUB_TOKEN: ${{ secrets.PJW_GITHUB_TOKEN }}
54
54
 
55
-
56
55
  - name: Output version number
57
56
  run: |
58
57
  name=$(jq -r .name package.json)
@@ -0,0 +1,5 @@
1
+ {
2
+ "cSpell.words": [
3
+ "setstate"
4
+ ]
5
+ }
Binary file
package/CHANGELOG.md CHANGED
@@ -1,13 +1,13 @@
1
- # @wishket/eslint-config-wishket
1
+ # @wishket/eslint-plugin
2
2
 
3
- ## 0.1.2
3
+ ## 0.2.9
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - [`bf4ac65`](https://github.com/wishket/eslint-config-wishket/commit/bf4ac6508143f146b0b939f76932be69e6e04efb) Thanks [@wishket-pjw](https://github.com/wishket-pjw)! - auto versioning test
7
+ - src 제거 및 index.js 경로 변경
8
8
 
9
- ## 0.1.1
9
+ ## 0.2.8
10
10
 
11
11
  ### Patch Changes
12
12
 
13
- - [`bd09176`](https://github.com/wishket/eslint-config-wishket/commit/bd091760fc15b833603da50482634cf66c767e1b) Thanks [@wishket-pjw](https://github.com/wishket-pjw)! - auto versioning test
13
+ - 패키지 경로 변경
package/README.md ADDED
@@ -0,0 +1,21 @@
1
+ # @wishket/eslint-config-wishket
2
+
3
+ 이 패키지는 확장 가능한 공유 구성으로 Wishket의 .eslintrc를 제공합니다.
4
+
5
+ ## Usage
6
+
7
+ 1. 설치
8
+
9
+ ```sh
10
+ npm install @wishket/eslint-config-wishket --save-dev
11
+ ```
12
+
13
+ ```sh
14
+ yarn install @wishket/eslint-config-wishket --dev
15
+ ```
16
+
17
+ ```sh
18
+ pnpm add @wishket/eslint-config-wishket --save-dev
19
+ ```
20
+
21
+ 2. `.eslintrc`에 `"extends": "@wishket/eslint-config-wishket"` 추가
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wishket/eslint-config-wishket",
3
- "version": "0.2.7",
3
+ "version": "0.2.9",
4
4
  "description": "Wishket's eslint config",
5
5
  "main": "index.js",
6
6
  "author": "wishket-pjw <pjw@wishket.com> (https://github.com/wishket-pjw)",
package/src/react.js DELETED
@@ -1,92 +0,0 @@
1
- module.exports = {
2
- plugins: [
3
- '@typescript-eslint/eslint-plugin',
4
- 'prettier',
5
- 'react',
6
- 'react-hooks',
7
- 'jest',
8
- 'jest-formatting',
9
- 'jest-dom',
10
- 'testing-library',
11
- 'unused-imports',
12
- ],
13
- extends: [
14
- 'plugin:@typescript-eslint/eslint-recommended',
15
- 'plugin:@typescript-eslint/recommended',
16
- 'plugin:import/errors',
17
- 'plugin:import/warnings',
18
- 'plugin:import/typescript',
19
- 'plugin:react/recommended',
20
- 'plugin:prettier/recommended',
21
- 'plugin:jest/recommended',
22
- 'plugin:jest-formatting/recommended',
23
- 'plugin:testing-library/react',
24
- 'plugin:jest-dom/recommended',
25
- 'prettier',
26
- 'eslint:recommended'
27
- ],
28
- rules: {
29
- 'unused-imports/no-unused-imports': 'error',
30
- 'react/react-in-jsx-scope': 'off',
31
- '@typescript-eslint/interface-name-prefix': 'off',
32
- 'no-unused-vars': 'off',
33
- '@typescript-eslint/explicit-function-return-type': 'off',
34
- 'import/order': [
35
- 'error',
36
- {
37
- 'newlines-between': 'always-and-inside-groups'
38
- }
39
- ],
40
- 'prettier/prettier': 'warn',
41
- '@typescript-eslint/no-unused-vars': 'off',
42
- 'react/prop-types': [
43
- 'error',
44
- {
45
- skipUndeclared: true
46
- }
47
- ],
48
- 'no-useless-computed-key': 'error',
49
- 'array-callback-return': 'error',
50
- 'react/destructuring-assignment': 'warn',
51
- 'react/no-access-state-in-setstate': 'error',
52
- 'react-hooks/rules-of-hooks': 'error',
53
- 'react-hooks/exhaustive-deps': 'error',
54
- 'react/sort-comp': [
55
- 'warn',
56
- {
57
- order: [
58
- 'static-variables',
59
- 'static-methods',
60
- 'getters',
61
- 'setters',
62
- 'instance-variables',
63
- 'lifecycle',
64
- 'everything-else',
65
- '/^handle.+$/',
66
- '/^on.+$/',
67
- 'rendering'
68
- ],
69
- groups: {
70
- rendering: ['/^render.+$/', 'render']
71
- }
72
- }
73
- ],
74
- '@typescript-eslint/quotes': [
75
- 'warn',
76
- 'single',
77
- { avoidEscape: true, allowTemplateLiterals: true }
78
- ]
79
- },
80
- settings: {
81
- react: {
82
- version: 'detect'
83
- },
84
- 'import/parsers': {
85
- '@typescript-eslint/parser': ['.ts', '.tsx']
86
- },
87
- 'import/resolver': {
88
- typescript: {}
89
- },
90
- 'import/ignore': ['testing-utils']
91
- }
92
- }
package/src/typescript.js DELETED
@@ -1,92 +0,0 @@
1
- module.exports = {
2
- plugins: [
3
- '@typescript-eslint/eslint-plugin',
4
- 'prettier',
5
- 'react',
6
- 'react-hooks',
7
- 'jest',
8
- 'jest-formatting',
9
- 'jest-dom',
10
- 'testing-library',
11
- 'unused-imports',
12
- ],
13
- extends: [
14
- 'plugin:@typescript-eslint/eslint-recommended',
15
- 'plugin:@typescript-eslint/recommended',
16
- 'plugin:import/errors',
17
- 'plugin:import/warnings',
18
- 'plugin:import/typescript',
19
- 'plugin:react/recommended',
20
- 'plugin:prettier/recommended',
21
- 'plugin:jest/recommended',
22
- 'plugin:jest-formatting/recommended',
23
- 'plugin:testing-library/react',
24
- 'plugin:jest-dom/recommended',
25
- 'prettier',
26
- 'eslint:recommended'
27
- ],
28
- rules: {
29
- 'unused-imports/no-unused-imports': 'error',
30
- 'react/react-in-jsx-scope': 'off',
31
- '@typescript-eslint/interface-name-prefix': 'off',
32
- 'no-unused-vars': 'off',
33
- '@typescript-eslint/explicit-function-return-type': 'off',
34
- 'import/order': [
35
- 'error',
36
- {
37
- 'newlines-between': 'always-and-inside-groups'
38
- }
39
- ],
40
- 'prettier/prettier': 'warn',
41
- '@typescript-eslint/no-unused-vars': 'off',
42
- 'react/prop-types': [
43
- 'error',
44
- {
45
- skipUndeclared: true
46
- }
47
- ],
48
- 'no-useless-computed-key': 'error',
49
- 'array-callback-return': 'error',
50
- 'react/destructuring-assignment': 'warn',
51
- 'react/no-access-state-in-setstate': 'error',
52
- 'react-hooks/rules-of-hooks': 'error',
53
- 'react-hooks/exhaustive-deps': 'error',
54
- 'react/sort-comp': [
55
- 'warn',
56
- {
57
- order: [
58
- 'static-variables',
59
- 'static-methods',
60
- 'getters',
61
- 'setters',
62
- 'instance-variables',
63
- 'lifecycle',
64
- 'everything-else',
65
- '/^handle.+$/',
66
- '/^on.+$/',
67
- 'rendering'
68
- ],
69
- groups: {
70
- rendering: ['/^render.+$/', 'render']
71
- }
72
- }
73
- ],
74
- '@typescript-eslint/quotes': [
75
- 'warn',
76
- 'single',
77
- { avoidEscape: true, allowTemplateLiterals: true }
78
- ]
79
- },
80
- settings: {
81
- react: {
82
- version: 'detect'
83
- },
84
- 'import/parsers': {
85
- '@typescript-eslint/parser': ['.ts', '.tsx']
86
- },
87
- 'import/resolver': {
88
- typescript: {}
89
- },
90
- 'import/ignore': ['testing-utils']
91
- }
92
- }
File without changes