@pfct/purple 1.4.0-rc.0 → 1.4.0-rc.3

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 (381) hide show
  1. package/dist/components/Button/DoubleButton/index.d.ts +3 -3
  2. package/dist/components/Control/Switch/index.d.ts +1 -0
  3. package/dist/components/Control/Switch/index.js +3 -3
  4. package/dist/components/Control/Switch/index.stories.d.ts +2 -2
  5. package/dist/components/Control/Switch/index.stories.js +3 -2
  6. package/dist/components/Control/Switch/index.styled.d.ts +2 -0
  7. package/dist/components/Control/Switch/index.styled.js +35 -6
  8. package/dist/components/Modal/index.d.ts +2 -2
  9. package/dist/library/BasicLayout/index.d.ts +3 -1
  10. package/dist/library/Flex/index.stories.d.ts +2 -1
  11. package/package.json +18 -20
  12. package/.history/.eslintrc.config_20240620114140.js +0 -39
  13. package/.history/.eslintrc.config_20240620130453.js +0 -164
  14. package/.history/.eslintrc_20230510193851.json +0 -164
  15. package/.history/.eslintrc_20240620114141.json +0 -39
  16. package/.history/.eslintrc_20240620131751.js +0 -164
  17. package/.history/.eslintrc_20240620132945.js +0 -164
  18. package/.history/.eslintrc_20240620133123.js +0 -163
  19. package/.history/.eslintrc_20240620133153.js +0 -164
  20. package/.history/.gitignore_20240620105113 +0 -21
  21. package/.history/.husky/commit-msg_20230510193851 +0 -4
  22. package/.history/.husky/commit-msg_20240620132755 +0 -4
  23. package/.history/.storybook/main_20230511183243.ts +0 -15
  24. package/.history/.storybook/main_20240620103059.ts +0 -9
  25. package/.history/.storybook/main_20240620103349.ts +0 -15
  26. package/.history/config-overrides_20230523140418.js +0 -0
  27. package/.history/config-overrides_20230523140429.js +0 -7
  28. package/.history/config-overrides_20230523140438.js +0 -7
  29. package/.history/config-overrides_20230523140456.js +0 -7
  30. package/.history/config-overrides_20230523140500.js +0 -7
  31. package/.history/config-overrides_20230523141258.js +0 -8
  32. package/.history/config-overrides_20230523141523.js +0 -15
  33. package/.history/config-overrides_20230523141527.js +0 -14
  34. package/.history/config-overrides_20230523141528.js +0 -14
  35. package/.history/config-overrides_20230523141828.js +0 -7
  36. package/.history/config-overrides_20230523142043.js +0 -7
  37. package/.history/config-overrides_20230523144759.js +0 -7
  38. package/.history/config-overrides_20230523144844.js +0 -7
  39. package/.history/config-overrides_20230523145025.js +0 -8
  40. package/.history/config-overrides_20230523145244.js +0 -8
  41. package/.history/config-overrides_20230523145557.js +0 -8
  42. package/.history/config-overrides_20230523145640.js +0 -8
  43. package/.history/config-overrides_20230523145642.js +0 -8
  44. package/.history/config-overrides_20230523150101.js +0 -8
  45. package/.history/config-overrides_20230523150817.js +0 -8
  46. package/.history/config-overrides_20230523151011.js +0 -8
  47. package/.history/config-overrides_20230523151022.js +0 -8
  48. package/.history/config-overrides_20230523151050.js +0 -8
  49. package/.history/config-overrides_20230523151057.js +0 -8
  50. package/.history/config-overrides_20230523155303.js +0 -5
  51. package/.history/config-overrides_20230524135448.js +0 -6
  52. package/.history/e2e/pages/dist/index_20230518173449.html +0 -15
  53. package/.history/e2e/pages/dist/index_20230518182705.html +0 -20
  54. package/.history/e2e/pages/dist/index_20230522152456.html +0 -18
  55. package/.history/e2e/pages/dist/index_20230522152506.html +0 -16
  56. package/.history/e2e/pages/index_20230511135904.html +0 -15
  57. package/.history/e2e/pages/index_20230511173402.html +0 -21
  58. package/.history/e2e/pages/index_20230511173459.html +0 -21
  59. package/.history/e2e/pages/index_20230511173549.html +0 -17
  60. package/.history/e2e/pages/index_20230511174725.html +0 -366
  61. package/.history/e2e/pages/index_20230511174818.html +0 -18
  62. package/.history/e2e/pages/index_20230511175151.html +0 -366
  63. package/.history/e2e/pages/index_20230511180114.html +0 -15
  64. package/.history/e2e/pages/index_20230518182740.html +0 -20
  65. package/.history/e2e/pages/index_20230518182804.html +0 -21
  66. package/.history/e2e/pages/index_20230522153300.html +0 -15
  67. package/.history/e2e/pages/public/index_20230523135713.html +0 -15
  68. package/.history/e2e/pages/public/index_20230523141954.html +0 -14
  69. package/.history/e2e/pages/src/api/index_20230510193933.ts +0 -26
  70. package/.history/e2e/pages/src/api/index_20230511113640.ts +0 -26
  71. package/.history/e2e/pages/src/api/index_20230511151752.ts +0 -26
  72. package/.history/e2e/pages/src/components/Loading_20230511175658.tsx +0 -0
  73. package/.history/e2e/pages/src/components/Loading_20230511175734.tsx +0 -12
  74. package/.history/e2e/pages/src/components/Loading_20230511175931.tsx +0 -14
  75. package/.history/e2e/pages/src/index.styled_20230510193933.ts +0 -13
  76. package/.history/e2e/pages/src/index.styled_20230511151410.ts +0 -13
  77. package/.history/e2e/pages/src/index.styled_20230511151526.ts +0 -13
  78. package/.history/e2e/pages/src/index.styled_20230511151814.ts +0 -13
  79. package/.history/e2e/pages/src/index.styled_20230511172842.ts +0 -14
  80. package/.history/e2e/pages/src/index.styled_20230511172927.ts +0 -15
  81. package/.history/e2e/pages/src/index.styled_20230511172936.ts +0 -16
  82. package/.history/e2e/pages/src/index.styled_20230511173014.ts +0 -13
  83. package/.history/e2e/pages/src/index_20230510193933.tsx +0 -64
  84. package/.history/e2e/pages/src/index_20230511112721.tsx +0 -64
  85. package/.history/e2e/pages/src/index_20230511124302.tsx +0 -77
  86. package/.history/e2e/pages/src/index_20230511124322.tsx +0 -77
  87. package/.history/e2e/pages/src/index_20230511124506.tsx +0 -72
  88. package/.history/e2e/pages/src/index_20230511124716.tsx +0 -72
  89. package/.history/e2e/pages/src/index_20230511133409.tsx +0 -72
  90. package/.history/e2e/pages/src/index_20230511141608.tsx +0 -77
  91. package/.history/e2e/pages/src/index_20230511141609.tsx +0 -77
  92. package/.history/e2e/pages/src/index_20230511142059.tsx +0 -77
  93. package/.history/e2e/pages/src/index_20230511144242.tsx +0 -77
  94. package/.history/e2e/pages/src/index_20230511145239.tsx +0 -81
  95. package/.history/e2e/pages/src/index_20230511145611.tsx +0 -81
  96. package/.history/e2e/pages/src/index_20230511150038.tsx +0 -81
  97. package/.history/e2e/pages/src/index_20230511150332.tsx +0 -87
  98. package/.history/e2e/pages/src/index_20230511150409.tsx +0 -87
  99. package/.history/e2e/pages/src/index_20230511150806.tsx +0 -96
  100. package/.history/e2e/pages/src/index_20230511150921.tsx +0 -96
  101. package/.history/e2e/pages/src/index_20230511151119.tsx +0 -96
  102. package/.history/e2e/pages/src/index_20230511151212.tsx +0 -89
  103. package/.history/e2e/pages/src/index_20230511151213.tsx +0 -89
  104. package/.history/e2e/pages/src/index_20230511151402.tsx +0 -86
  105. package/.history/e2e/pages/src/index_20230511151506.tsx +0 -79
  106. package/.history/e2e/pages/src/index_20230511151508.tsx +0 -75
  107. package/.history/e2e/pages/src/index_20230511153005.tsx +0 -71
  108. package/.history/e2e/pages/src/index_20230511153107.tsx +0 -73
  109. package/.history/e2e/pages/src/index_20230511153108.tsx +0 -73
  110. package/.history/e2e/pages/src/index_20230511153531.tsx +0 -76
  111. package/.history/e2e/pages/src/index_20230511153708.tsx +0 -73
  112. package/.history/e2e/pages/src/index_20230511153839.tsx +0 -75
  113. package/.history/e2e/pages/src/index_20230511154213.tsx +0 -81
  114. package/.history/e2e/pages/src/index_20230511154216.tsx +0 -79
  115. package/.history/e2e/pages/src/index_20230511154409.tsx +0 -83
  116. package/.history/e2e/pages/src/index_20230511154449.tsx +0 -85
  117. package/.history/e2e/pages/src/index_20230511154635.tsx +0 -91
  118. package/.history/e2e/pages/src/index_20230511154636.tsx +0 -91
  119. package/.history/e2e/pages/src/index_20230511154930.tsx +0 -96
  120. package/.history/e2e/pages/src/index_20230511154944.tsx +0 -94
  121. package/.history/e2e/pages/src/index_20230511154945.tsx +0 -93
  122. package/.history/e2e/pages/src/index_20230511155010.tsx +0 -91
  123. package/.history/e2e/pages/src/index_20230511160112.tsx +0 -92
  124. package/.history/e2e/pages/src/index_20230511160930.tsx +0 -92
  125. package/.history/e2e/pages/src/index_20230511161050.tsx +0 -92
  126. package/.history/e2e/pages/src/index_20230511161157.tsx +0 -93
  127. package/.history/e2e/pages/src/index_20230511161212.tsx +0 -93
  128. package/.history/e2e/pages/src/index_20230511161244.tsx +0 -92
  129. package/.history/e2e/pages/src/index_20230511161304.tsx +0 -92
  130. package/.history/e2e/pages/src/index_20230511161307.tsx +0 -92
  131. package/.history/e2e/pages/src/index_20230511161344.tsx +0 -92
  132. package/.history/e2e/pages/src/index_20230511161426.tsx +0 -98
  133. package/.history/e2e/pages/src/index_20230511161627.tsx +0 -101
  134. package/.history/e2e/pages/src/index_20230511161654.tsx +0 -101
  135. package/.history/e2e/pages/src/index_20230511161714.tsx +0 -102
  136. package/.history/e2e/pages/src/index_20230511161721.tsx +0 -103
  137. package/.history/e2e/pages/src/index_20230511161739.tsx +0 -105
  138. package/.history/e2e/pages/src/index_20230511161856.tsx +0 -104
  139. package/.history/e2e/pages/src/index_20230511162002.tsx +0 -105
  140. package/.history/e2e/pages/src/index_20230511162106.tsx +0 -106
  141. package/.history/e2e/pages/src/index_20230511163614.tsx +0 -109
  142. package/.history/e2e/pages/src/index_20230511163744.tsx +0 -109
  143. package/.history/e2e/pages/src/index_20230511165031.tsx +0 -112
  144. package/.history/e2e/pages/src/index_20230511165033.tsx +0 -111
  145. package/.history/e2e/pages/src/index_20230511165356.tsx +0 -112
  146. package/.history/e2e/pages/src/index_20230511165613.tsx +0 -113
  147. package/.history/e2e/pages/src/index_20230511165615.tsx +0 -113
  148. package/.history/e2e/pages/src/index_20230511170431.tsx +0 -121
  149. package/.history/e2e/pages/src/index_20230511170448.tsx +0 -122
  150. package/.history/e2e/pages/src/index_20230511170740.tsx +0 -123
  151. package/.history/e2e/pages/src/index_20230511170856.tsx +0 -123
  152. package/.history/e2e/pages/src/index_20230511170952.tsx +0 -124
  153. package/.history/e2e/pages/src/index_20230511171513.tsx +0 -119
  154. package/.history/e2e/pages/src/index_20230511171555.tsx +0 -119
  155. package/.history/e2e/pages/src/index_20230511171611.tsx +0 -119
  156. package/.history/e2e/pages/src/index_20230511171832.tsx +0 -120
  157. package/.history/e2e/pages/src/index_20230511171850.tsx +0 -120
  158. package/.history/e2e/pages/src/index_20230511172356.tsx +0 -113
  159. package/.history/e2e/pages/src/index_20230511172732.tsx +0 -118
  160. package/.history/e2e/pages/src/index_20230511172752.tsx +0 -116
  161. package/.history/e2e/pages/src/index_20230511172825.tsx +0 -116
  162. package/.history/e2e/pages/src/index_20230511173028.tsx +0 -115
  163. package/.history/e2e/pages/src/index_20230511173124.tsx +0 -114
  164. package/.history/e2e/pages/src/index_20230511173144.tsx +0 -115
  165. package/.history/e2e/pages/src/index_20230511173209.tsx +0 -119
  166. package/.history/e2e/pages/src/index_20230511173213.tsx +0 -119
  167. package/.history/e2e/pages/src/index_20230511173235.tsx +0 -123
  168. package/.history/e2e/pages/src/index_20230511173238.tsx +0 -121
  169. package/.history/e2e/pages/src/index_20230511173303.tsx +0 -121
  170. package/.history/e2e/pages/src/index_20230511173312.tsx +0 -121
  171. package/.history/e2e/pages/src/index_20230511173604.tsx +0 -121
  172. package/.history/e2e/pages/src/index_20230511173623.tsx +0 -121
  173. package/.history/e2e/pages/src/index_20230511173628.tsx +0 -121
  174. package/.history/e2e/pages/src/index_20230511174842.tsx +0 -121
  175. package/.history/e2e/pages/src/index_20230511175122.tsx +0 -121
  176. package/.history/e2e/pages/src/index_20230511175133.tsx +0 -121
  177. package/.history/e2e/pages/src/index_20230511175327.tsx +0 -121
  178. package/.history/e2e/pages/src/index_20230511175329.tsx +0 -121
  179. package/.history/e2e/pages/src/index_20230511175343.tsx +0 -121
  180. package/.history/e2e/pages/src/index_20230511175344.tsx +0 -121
  181. package/.history/e2e/pages/src/index_20230511175345.tsx +0 -121
  182. package/.history/e2e/pages/src/index_20230511175412.tsx +0 -121
  183. package/.history/e2e/pages/src/index_20230511175422.tsx +0 -121
  184. package/.history/e2e/pages/src/index_20230511175426.tsx +0 -121
  185. package/.history/e2e/pages/src/index_20230511175501.tsx +0 -121
  186. package/.history/e2e/pages/src/index_20230511175515.tsx +0 -121
  187. package/.history/e2e/pages/src/index_20230511175521.tsx +0 -121
  188. package/.history/e2e/pages/src/index_20230511175530.tsx +0 -121
  189. package/.history/e2e/pages/src/index_20230511175538.tsx +0 -123
  190. package/.history/e2e/pages/src/index_20230511175542.tsx +0 -121
  191. package/.history/e2e/pages/src/index_20230511175602.tsx +0 -121
  192. package/.history/e2e/pages/src/index_20230511175621.tsx +0 -121
  193. package/.history/e2e/pages/src/index_20230511175813.tsx +0 -116
  194. package/.history/e2e/pages/src/index_20230511175819.tsx +0 -116
  195. package/.history/e2e/pages/src/index_20230511175844.tsx +0 -116
  196. package/.history/e2e/pages/src/index_20230511175845.tsx +0 -116
  197. package/.history/e2e/pages/src/index_20230511180023.tsx +0 -118
  198. package/.history/e2e/pages/src/index_20230511182316.tsx +0 -125
  199. package/.history/e2e/pages/src/index_20230511182608.tsx +0 -125
  200. package/.history/e2e/pages/src/index_20230511182609.tsx +0 -125
  201. package/.history/e2e/pages/src/index_20230511182757.tsx +0 -125
  202. package/.history/e2e/pages/src/index_20230511182903.tsx +0 -125
  203. package/.history/e2e/pages/src/index_20230511182937.tsx +0 -126
  204. package/.history/e2e/pages/src/index_20230511182948.tsx +0 -125
  205. package/.history/e2e/pages/src/index_20230511183018.tsx +0 -125
  206. package/.history/e2e/pages/src/index_20230511183133.tsx +0 -125
  207. package/.history/e2e/pages/src/index_20230512155015.tsx +0 -125
  208. package/.history/e2e/pages/src/index_20230523142330.tsx +0 -126
  209. package/.history/e2e/pages/src/index_20230523142331.tsx +0 -126
  210. package/.history/e2e/pages/src/index_20230524135532.tsx +0 -125
  211. package/.history/e2e/pages/src/index_20230524221001.tsx +0 -125
  212. package/.history/e2e/pages/src/index_20230524221118.tsx +0 -125
  213. package/.history/e2e/pages/src/util/index_20230510193933.ts +0 -72
  214. package/.history/e2e/pages/src/util/index_20230511160018.ts +0 -73
  215. package/.history/e2e/pages/src/util/index_20230511160344.ts +0 -74
  216. package/.history/e2e/pages/src/util/index_20230511160737.ts +0 -75
  217. package/.history/e2e/pages/src/util/index_20230511160755.ts +0 -75
  218. package/.history/e2e/pages/src/util/index_20230511160837.ts +0 -73
  219. package/.history/e2e/pages/src/util/index_20230511161107.ts +0 -72
  220. package/.history/e2e/pages/src/util/index_20230511172301.ts +0 -81
  221. package/.history/e2e/pages/src/util/index_20230512154151.ts +0 -89
  222. package/.history/e2e/pages/src/util/index_20230512154521.ts +0 -98
  223. package/.history/e2e/pages/src/util/index_20230512154722.ts +0 -98
  224. package/.history/e2e/pages/src/util/index_20230512154913.ts +0 -91
  225. package/.history/e2e/pages/src/util/index_20230512155144.ts +0 -91
  226. package/.history/e2e/pages/src/util/index_20230512155145.ts +0 -91
  227. package/.history/e2e/pages/src/util/index_20230512155146.ts +0 -91
  228. package/.history/e2e/pages/src/util/index_20230512155153.ts +0 -90
  229. package/.history/e2e/pages/src/util/index_20230512155624.ts +0 -90
  230. package/.history/e2e/pages/src/util/index_20230512155741.ts +0 -90
  231. package/.history/e2e/pages/src/util/index_20230512155917.ts +0 -90
  232. package/.history/e2e/pages/src/util/index_20230524221047.ts +0 -97
  233. package/.history/e2e/pages/webpack.config_20230510193933.js +0 -30
  234. package/.history/e2e/pages/webpack.config_20230511144239.js +0 -39
  235. package/.history/e2e/pages/webpack.config_20230511144341.js +0 -39
  236. package/.history/e2e/pages/webpack.config_20230511144430.js +0 -39
  237. package/.history/e2e/pages/webpack.config_20230511144644.js +0 -41
  238. package/.history/e2e/pages/webpack.config_20230511144645.js +0 -41
  239. package/.history/e2e/pages/webpack.config_20230511144753.js +0 -41
  240. package/.history/e2e/pages/webpack.config_20230511144802.js +0 -41
  241. package/.history/e2e/pages/webpack.config_20230511144845.js +0 -41
  242. package/.history/e2e/pages/webpack.config_20230511144926.js +0 -41
  243. package/.history/e2e/pages/webpack.config_20230511144934.js +0 -41
  244. package/.history/e2e/pages/webpack.config_20230511144943.js +0 -40
  245. package/.history/e2e/pages/webpack.config_20230511145020.js +0 -39
  246. package/.history/e2e/pages/webpack.config_20230511145106.js +0 -41
  247. package/.history/e2e/pages/webpack.config_20230511145716.js +0 -41
  248. package/.history/e2e/pages/webpack.config_20230511145916.js +0 -36
  249. package/.history/e2e/pages/webpack.config_20230518173344.js +0 -37
  250. package/.history/e2e/pages/webpack.config_20230518174552.js +0 -36
  251. package/.history/e2e/pages/webpack.config_20230523133653.js +0 -35
  252. package/.history/e2e/public/index_20230524155527.html +0 -43
  253. package/.history/e2e/public/index_20230524162254.html +0 -43
  254. package/.history/e2e/public/index_20230524185229.html +0 -37
  255. package/.history/e2e/public/index_20230524215646.html +0 -13
  256. package/.history/e2e/public/index_20230524215648.html +0 -12
  257. package/.history/e2e/src/api/index_20230524161035.ts +0 -26
  258. package/.history/e2e/src/api/index_20230524215532.ts +0 -26
  259. package/.history/e2e/src/components/Home/index_20230524161228.tsx +0 -125
  260. package/.history/e2e/src/components/Home/index_20230524161356.tsx +0 -116
  261. package/.history/e2e/src/components/Home/index_20230524161420.tsx +0 -115
  262. package/.history/e2e/src/components/Home/index_20230524161442.tsx +0 -115
  263. package/.history/e2e/src/components/Home/index_20230525002542.tsx +0 -123
  264. package/.history/e2e/src/components/Home/index_20230525002658.tsx +0 -125
  265. package/.history/e2e/src/components/Home/index_20230525002730.tsx +0 -126
  266. package/.history/e2e/src/index_20230524155527.tsx +0 -19
  267. package/.history/e2e/src/index_20230524161122.tsx +0 -125
  268. package/.history/e2e/src/index_20230524161206.tsx +0 -19
  269. package/.history/e2e/src/index_20230524161343.tsx +0 -17
  270. package/.history/e2e/src/index_20230524161927.tsx +0 -12
  271. package/.history/e2e/src/index_20230524161943.tsx +0 -11
  272. package/.history/e2e/src/index_20230524215444.tsx +0 -16
  273. package/.history/e2e/src/util/index_20230524222013.ts +0 -96
  274. package/.history/e2e/src/util/index_20230525000927.ts +0 -96
  275. package/.history/e2e/src/util/index_20230525000928.ts +0 -96
  276. package/.history/e2e/src/util/index_20230525001227.ts +0 -97
  277. package/.history/e2e/src/util/index_20230525001229.ts +0 -97
  278. package/.history/e2e/src/util/index_20230525001439.ts +0 -97
  279. package/.history/e2e/src/util/index_20230525001641.ts +0 -101
  280. package/.history/e2e/src/util/index_20230525001953.ts +0 -100
  281. package/.history/e2e/src/util/index_20230525002514.ts +0 -100
  282. package/.history/e2e/src/util/index_20230525002533.ts +0 -100
  283. package/.history/ops/buildspec_20240620105123.yml +0 -17
  284. package/.history/package_20240620101011.json +0 -176
  285. package/.history/package_20240620102132.json +0 -180
  286. package/.history/package_20240620102136.json +0 -179
  287. package/.history/package_20240620102151.json +0 -179
  288. package/.history/package_20240620102153.json +0 -179
  289. package/.history/package_20240620102228.json +0 -180
  290. package/.history/package_20240620102534.json +0 -181
  291. package/.history/package_20240620102955.json +0 -180
  292. package/.history/package_20240620103103.json +0 -181
  293. package/.history/package_20240620103105.json +0 -180
  294. package/.history/package_20240620103120.json +0 -181
  295. package/.history/package_20240620103532.json +0 -181
  296. package/.history/package_20240620103741.json +0 -181
  297. package/.history/package_20240620103803.json +0 -181
  298. package/.history/package_20240620105356.json +0 -181
  299. package/.history/package_20240620110005.json +0 -181
  300. package/.history/package_20240620110042.json +0 -172
  301. package/.history/package_20240620131821.json +0 -181
  302. package/.history/package_20240620133118.json +0 -179
  303. package/.history/package_20240620133317.json +0 -179
  304. package/.history/package_20240620133341.json +0 -179
  305. package/.history/package_20240620135524.json +0 -178
  306. package/.history/package_20240704143808.json +0 -180
  307. package/.history/package_20240704143813.json +0 -180
  308. package/.history/public/index_20230523141735.html +0 -15
  309. package/.history/public/index_20230523141958.html +0 -14
  310. package/.history/src/components/Button/BaseButton/index_20240620100732.tsx +0 -101
  311. package/.history/src/components/Button/BaseButton/index_20240704140342.tsx +0 -103
  312. package/.history/src/components/Button/BaseButton/index_20240704140358.tsx +0 -103
  313. package/.history/src/components/Button/BaseButton/index_20240704140500.tsx +0 -101
  314. package/.history/src/components/Button/BaseButton/index_20240704140632.tsx +0 -103
  315. package/.history/src/components/Button/BaseButton/index_20240704140652.tsx +0 -106
  316. package/.history/src/components/Button/BaseButton/index_20240704140700.tsx +0 -107
  317. package/.history/src/components/Button/BaseButton/index_20240704140711.tsx +0 -108
  318. package/.history/src/components/Button/BaseButton/index_20240704140714.tsx +0 -106
  319. package/.history/src/components/Button/BaseButton/index_20240704140717.tsx +0 -106
  320. package/.history/src/components/Button/BaseButton/index_20240704140900.tsx +0 -105
  321. package/.history/src/components/Button/BaseButton/index_20240704140926.tsx +0 -106
  322. package/.history/src/components/Button/BaseButton/index_20240704140954.tsx +0 -105
  323. package/.history/src/components/Button/BaseButton/index_20240704141107.tsx +0 -105
  324. package/.history/src/components/Button/BaseButton/index_20240704141112.tsx +0 -103
  325. package/.history/src/components/Button/DoubleButton/index_20240620100732.tsx +0 -53
  326. package/.history/src/components/Button/DoubleButton/index_20240620133519.tsx +0 -53
  327. package/.history/src/components/Button/DoubleButton/index_20240620133607.tsx +0 -53
  328. package/.history/src/components/Control/CheckBox/index_20231208085202.tsx +0 -51
  329. package/.history/src/components/Control/CheckBox/index_20240102131509.tsx +0 -53
  330. package/.history/src/components/Control/CheckMark/index_20231208110651.tsx +0 -33
  331. package/.history/src/components/Control/CheckMark/index_20240104141745.tsx +0 -35
  332. package/.history/src/components/Input/BaseInput/index.styled_20230518172815.ts +0 -149
  333. package/.history/src/components/Input/BaseInput/index.styled_20230620134104.ts +0 -150
  334. package/.history/src/components/Input/BaseInput/index.styled_20230620153553.ts +0 -150
  335. package/.history/src/components/Input/BaseInput/index.styled_20230620162224.ts +0 -151
  336. package/.history/src/components/Input/PostfixInput/index.styled_20230518172815.ts +0 -71
  337. package/.history/src/components/Input/PostfixInput/index.styled_20230619181154.ts +0 -72
  338. package/.history/src/components/Input/PostfixInput/index.styled_20230619181243.ts +0 -71
  339. package/.history/src/components/Input/PostfixInput/index.styled_20230619181840.ts +0 -70
  340. package/.history/src/components/Input/PostfixInput/index.styled_20230619181843.ts +0 -70
  341. package/.history/src/components/Input/PostfixInput/index.styled_20230619181844.ts +0 -70
  342. package/.history/src/components/Input/PostfixInput/index.styled_20230620110646.ts +0 -70
  343. package/.history/src/components/Input/PostfixInput/index_20231208085501.tsx +0 -173
  344. package/.history/src/components/Input/PostfixInput/index_20231208085544.tsx +0 -174
  345. package/.history/src/components/Input/PostfixInput/index_20231208085701.tsx +0 -175
  346. package/.history/src/components/Input/PostfixInput/index_20231208090034.tsx +0 -175
  347. package/.history/src/components/Input/PostfixInput/index_20231208110722.tsx +0 -174
  348. package/.history/src/components/Input/PostfixInput/index_20231208110738.tsx +0 -175
  349. package/.history/src/components/Input/PostfixInput/index_20231208110752.tsx +0 -176
  350. package/.history/src/components/Input/index.stories_20230523113113.tsx +0 -209
  351. package/.history/src/components/Input/index.stories_20230619181021.tsx +0 -210
  352. package/.history/src/components/Input/index.stories_20230619181656.tsx +0 -210
  353. package/.history/src/components/Input/index.stories_20230619184317.tsx +0 -210
  354. package/.history/src/components/Loading/index_20230510193851.ts +0 -4
  355. package/.history/src/components/Loading/index_20230511140917.ts +0 -5
  356. package/.history/src/components/Loading/index_20230511151553.ts +0 -4
  357. package/.history/src/core/TextStyles/index_20230518172815.ts +0 -158
  358. package/.history/src/core/TextStyles/index_20230522164636.ts +0 -158
  359. package/.history/src/hooks/useLayoutIsMobile_20230510193851.ts +0 -23
  360. package/.history/src/hooks/useLayoutIsMobile_20240112115425.ts +0 -23
  361. package/.history/src/library/BasicLayout/index_20240620100732.tsx +0 -89
  362. package/.history/src/library/BasicLayout/index_20240620101635.tsx +0 -89
  363. package/.history/src/library/BasicLayout/index_20240620101752.tsx +0 -89
  364. package/.history/src/library/Flex/index.stories_20231208085202.tsx +0 -41
  365. package/.history/src/library/Flex/index.stories_20240620133414.tsx +0 -41
  366. package/.history/src/storybook/extend-color-type.stories_20240620100732.tsx +0 -613
  367. package/.history/src/storybook/extend-color-type.stories_20240620133449.tsx +0 -613
  368. package/.history/src/storybook/extend-color-type.stories_20240620133541.tsx +0 -611
  369. package/.history/src/storybook/extend-color-type.stories_20240620133550.tsx +0 -609
  370. package/.history/src/storybook/extend-color-type.stories_20240620133554.tsx +0 -609
  371. package/.history/src/utils/GenerateColorStyle/single-button_20240620100732.ts +0 -109
  372. package/.history/src/utils/GenerateColorStyle/single-button_20240702153725.ts +0 -110
  373. package/.history/src/utils/GenerateColorStyle/single-button_20240702153726.ts +0 -110
  374. package/.history/src/utils/GenerateColorStyle/single-button_20240702153826.ts +0 -105
  375. package/.history/src/utils/GenerateColorStyle/single-button_20240702153909.ts +0 -110
  376. package/.history/src/utils/GenerateColorStyle/single-button_20240702153934.ts +0 -111
  377. package/.history/src/utils/GenerateColorStyle/single-button_20240702153935.ts +0 -111
  378. package/.history/src/utils/GenerateColorStyle/single-button_20240704141120.ts +0 -109
  379. package/.history/yarn_20230510193944.lock +0 -11943
  380. package/.history/yarn_20230510194159.lock +0 -11941
  381. package/.vscode/settings.json +0 -3
@@ -1,39 +0,0 @@
1
- {
2
- "extends": [
3
- "plugin:@typescript-eslint/recommended",
4
- "plugin:react/recommended",
5
- "plugin:prettier/recommended",
6
- "prettier"
7
- ],
8
- "plugins": ["react-hooks"],
9
- "rules": {
10
- /**
11
- * react/display-name
12
- * React.memo, React.forwardRef도 막는 경우가 존재하여 해당 Rule은 생산성을 떨어트린다 판단되 off 처리됨
13
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/display-name.md
14
- * */
15
- "react/display-name": "off",
16
- "react-hooks/rules-of-hooks": "error",
17
- "react-hooks/exhaustive-deps": [
18
- "error",
19
- {
20
- "additionalHooks": "useRecoilCallback"
21
- }
22
- ],
23
- "@typescript-eslint/no-unused-vars": "error",
24
- /**
25
- * react/prop-types
26
- * Type선언으로 propTypes를 이미 명명하고 있으므로, off 처리함
27
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md
28
- */
29
- "react/prop-types": "off",
30
- "prettier/prettier":[
31
- "off",
32
- {
33
- "trailingComma" : 0
34
- }
35
- ],
36
- "@typescript-eslint/no-explicit-any": "warn"
37
- }
38
- }
39
-
@@ -1,164 +0,0 @@
1
- module.exports = {
2
- extends: [
3
- 'plugin:@typescript-eslint/recommended',
4
- 'plugin:react/recommended',
5
- 'plugin:prettier/recommended',
6
- 'prettier'
7
- ],
8
- parser: '@typescript-eslint/parser',
9
- parserOptions: {
10
- ecmaFeatures: {
11
- jsx: true
12
- },
13
- ecmaVersion: 6,
14
- sourceType: 'module'
15
- },
16
- plugins: ['react', '@typescript-eslint', 'react-hooks', 'import', '@emotion', 'prettier'],
17
- globals: {
18
- process: true
19
- },
20
- settings: {
21
- react: { version: 'detect' }
22
- },
23
- rules: {
24
- '@emotion/jsx-import': 'error',
25
-
26
- /**
27
- * prettier가 적용 되었는지 체크
28
- */
29
- 'prettier/prettier': 'warn',
30
- /**
31
- * 짧은 표기법으로 진행하는 형변환은 이해하기 어려울 수 있으므로 코드의 직관성이 떨어져 금지
32
- * https://eslint.org/docs/rules/no-implicit-coercion
33
- */
34
- 'no-implicit-coercion': 'error',
35
-
36
- /**
37
- * no-extra-boolean-cast
38
- * !!var, !!!var 등 구분하기 애매한 boolean 형변환을 명확하도록
39
- * https://eslint.org/docs/rules/no-extra-boolean-cast
40
- */
41
- 'no-extra-boolean-cast': 'off',
42
-
43
- /**
44
- * getter-return
45
- * 함수의 input output이 어떤지 사이드 이펙트를 측정하기 힘들어지므로,
46
- * 아무런 값도 return 하지 않는 함수일경우 경고
47
- * https://eslint.org/docs/rules/getter-return
48
- */
49
- 'getter-return': 'warn',
50
-
51
- /**
52
- * 재할당되지 않는 변수는 const 선언
53
- * https://eslint.org/docs/rules/prefer-const
54
- */
55
- 'prefer-const': 'error',
56
-
57
- /**
58
- * no-var
59
- * var 선언 금지
60
- * https://eslint.org/docs/rules/no-var
61
- */
62
- 'no-var': 'error',
63
-
64
- /**
65
- * @typescript-eslint/no-empty-interface
66
- * 빈 인터페이스 경고
67
- * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-interface.md
68
- */
69
- '@typescript-eslint/no-empty-interface': 'warn',
70
-
71
- /**
72
- * curly
73
- * if문 또는 for문에 대한 코드가 하나만 포홤된경우 중괄호를 생략할수 있으나, 버그를 유발하고 코드의 명확성을 떨어트릴 수 있기 때문에 금지
74
- * https://eslint.org/docs/rules/curly
75
- */
76
- curly: ['error', 'all'],
77
-
78
- /**
79
- * eqeqeq
80
- * === 및 !==등 형병환 비교 연산자만 허용, 대신 null은 해당 Rule에 대해서 예외 처리
81
- * https://eslint.org/docs/rules/eqeqeq#require-and-eqeqeq
82
- */
83
- eqeqeq: ['error', 'always', { null: 'ignore' }],
84
-
85
- /**
86
- * import/no-cycle
87
- * 다른 모듈끼리 서로를 import 하는것을 방지
88
- * https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-cycle.md
89
- * */
90
- 'import/no-cycle': ['error', { maxDepth: Infinity }],
91
-
92
- /**
93
- * import/no-duplicates
94
- * 중복된 import 금지
95
- * https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md
96
- * */
97
- 'import/no-duplicates': 'error',
98
-
99
- /**
100
- * react/display-name
101
- * React.memo, React.forwardRef도 막는 경우가 존재하여 해당 Rule은 생산성을 떨어트린다 판단되 off 처리됨
102
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/display-name.md
103
- * */
104
- 'react/display-name': 'off',
105
-
106
- /**
107
- * react/prop-types
108
- * Type선언으로 propTypes를 이미 명명하고 있으므로, off 처리함
109
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md
110
- */
111
- 'react/prop-types': 'off',
112
- /**
113
- * react-hooks/rules-of-hooks
114
- * 내부 코드 컨벤션상 React Hook 으로만 코드를 작성하도록 강제
115
- */
116
- 'react-hooks/rules-of-hooks': 'error',
117
-
118
- /**
119
- * react-hooks/exhaustive-deps
120
- * useCallback, useMemo, useEffect등 Hook에서 사용되는 변수중, 누락된 deps가 있는지 검사
121
- */
122
- 'react-hooks/exhaustive-deps': 'error',
123
-
124
- /**
125
- * @deprecated - 기존 eslint가 동작하지 않음으로써 생긴 에러가 다소 존재하여 임시로 warn 처리됨. 차후엔 error로 변경 필요
126
- * @typescript-eslint/no-explicit-any
127
- * any 타입 선언 금지
128
- * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-explicit-any.md
129
- */
130
- '@typescript-eslint/no-explicit-any': 'warn',
131
-
132
- /**
133
- * 아직 미개발 사항들이 있는 것 같아서 팀원들 확인이 필요하여 그대로 둠. error 로 변경 필요
134
- * tsconfig.json 의 noUnusedLocals, noUnusedParameters 옵션과 동시 변경
135
- */
136
- '@typescript-eslint/no-unused-vars': 'error',
137
-
138
- '@typescript-eslint/no-non-null-assertion': 'error',
139
-
140
- /**
141
- * 7.22.0 에 추가된 스펙으로, 일단 모두 추가하여 테스트 중
142
- */
143
- 'react/jsx-key': ['error', { checkFragmentShorthand: true, checkKeyMustBeforeSpread: true }],
144
- 'react/jsx-no-constructed-context-values': 'error',
145
- 'react/jsx-indent-props': ['error', { indentMode: 'tab', ignoreTernaryOperator: true }],
146
- 'react/jsx-no-target-blank': ['error', { enforceDynamicLinks: 'always', warnOnSpreadAttributes: true }]
147
- },
148
- overrides: [
149
- /**
150
- * .js 파일에 대해 require 허용, ES6 module 로 변환하게끔 하지 않음
151
- */
152
- {
153
- files: ['*.js'],
154
- rules: {
155
- '@typescript-eslint/no-var-requires': 'off',
156
- '@typescript-eslint/explicit-module-boundary-types': 'off'
157
- }
158
- },
159
- {
160
- files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
161
- extends: ['plugin:testing-library/react', 'plugin:jest/recommended', 'plugin:jest/style']
162
- }
163
- ]
164
- };
@@ -1,164 +0,0 @@
1
- module.exports = {
2
- extends: [
3
- 'plugin:@typescript-eslint/recommended',
4
- 'plugin:react/recommended',
5
- 'plugin:prettier/recommended',
6
- 'prettier'
7
- ],
8
- parser: '@typescript-eslint/parser',
9
- parserOptions: {
10
- ecmaFeatures: {
11
- jsx: true
12
- },
13
- ecmaVersion: 6,
14
- sourceType: 'module'
15
- },
16
- plugins: ['react', '@typescript-eslint', 'react-hooks', 'import', '@emotion', 'prettier'],
17
- globals: {
18
- process: true
19
- },
20
- settings: {
21
- react: { version: 'detect' }
22
- },
23
- rules: {
24
- '@emotion/jsx-import': 'error',
25
-
26
- /**
27
- * prettier가 적용 되었는지 체크
28
- */
29
- // 'prettier/prettier': 'warn',
30
- /**
31
- * 짧은 표기법으로 진행하는 형변환은 이해하기 어려울 수 있으므로 코드의 직관성이 떨어져 금지
32
- * https://eslint.org/docs/rules/no-implicit-coercion
33
- */
34
- 'no-implicit-coercion': 'error',
35
-
36
- /**
37
- * no-extra-boolean-cast
38
- * !!var, !!!var 등 구분하기 애매한 boolean 형변환을 명확하도록
39
- * https://eslint.org/docs/rules/no-extra-boolean-cast
40
- */
41
- 'no-extra-boolean-cast': 'off',
42
-
43
- /**
44
- * getter-return
45
- * 함수의 input output이 어떤지 사이드 이펙트를 측정하기 힘들어지므로,
46
- * 아무런 값도 return 하지 않는 함수일경우 경고
47
- * https://eslint.org/docs/rules/getter-return
48
- */
49
- 'getter-return': 'warn',
50
-
51
- /**
52
- * 재할당되지 않는 변수는 const 선언
53
- * https://eslint.org/docs/rules/prefer-const
54
- */
55
- 'prefer-const': 'error',
56
-
57
- /**
58
- * no-var
59
- * var 선언 금지
60
- * https://eslint.org/docs/rules/no-var
61
- */
62
- 'no-var': 'error',
63
-
64
- /**
65
- * @typescript-eslint/no-empty-interface
66
- * 빈 인터페이스 경고
67
- * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-interface.md
68
- */
69
- '@typescript-eslint/no-empty-interface': 'warn',
70
-
71
- /**
72
- * curly
73
- * if문 또는 for문에 대한 코드가 하나만 포홤된경우 중괄호를 생략할수 있으나, 버그를 유발하고 코드의 명확성을 떨어트릴 수 있기 때문에 금지
74
- * https://eslint.org/docs/rules/curly
75
- */
76
- curly: ['error', 'all'],
77
-
78
- /**
79
- * eqeqeq
80
- * === 및 !==등 형병환 비교 연산자만 허용, 대신 null은 해당 Rule에 대해서 예외 처리
81
- * https://eslint.org/docs/rules/eqeqeq#require-and-eqeqeq
82
- */
83
- eqeqeq: ['error', 'always', { null: 'ignore' }],
84
-
85
- /**
86
- * import/no-cycle
87
- * 다른 모듈끼리 서로를 import 하는것을 방지
88
- * https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-cycle.md
89
- * */
90
- 'import/no-cycle': ['error', { maxDepth: Infinity }],
91
-
92
- /**
93
- * import/no-duplicates
94
- * 중복된 import 금지
95
- * https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md
96
- * */
97
- 'import/no-duplicates': 'error',
98
-
99
- /**
100
- * react/display-name
101
- * React.memo, React.forwardRef도 막는 경우가 존재하여 해당 Rule은 생산성을 떨어트린다 판단되 off 처리됨
102
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/display-name.md
103
- * */
104
- 'react/display-name': 'off',
105
-
106
- /**
107
- * react/prop-types
108
- * Type선언으로 propTypes를 이미 명명하고 있으므로, off 처리함
109
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md
110
- */
111
- 'react/prop-types': 'off',
112
- /**
113
- * react-hooks/rules-of-hooks
114
- * 내부 코드 컨벤션상 React Hook 으로만 코드를 작성하도록 강제
115
- */
116
- 'react-hooks/rules-of-hooks': 'error',
117
-
118
- /**
119
- * react-hooks/exhaustive-deps
120
- * useCallback, useMemo, useEffect등 Hook에서 사용되는 변수중, 누락된 deps가 있는지 검사
121
- */
122
- 'react-hooks/exhaustive-deps': 'error',
123
-
124
- /**
125
- * @deprecated - 기존 eslint가 동작하지 않음으로써 생긴 에러가 다소 존재하여 임시로 warn 처리됨. 차후엔 error로 변경 필요
126
- * @typescript-eslint/no-explicit-any
127
- * any 타입 선언 금지
128
- * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-explicit-any.md
129
- */
130
- '@typescript-eslint/no-explicit-any': 'warn',
131
-
132
- /**
133
- * 아직 미개발 사항들이 있는 것 같아서 팀원들 확인이 필요하여 그대로 둠. error 로 변경 필요
134
- * tsconfig.json 의 noUnusedLocals, noUnusedParameters 옵션과 동시 변경
135
- */
136
- '@typescript-eslint/no-unused-vars': 'error',
137
-
138
- '@typescript-eslint/no-non-null-assertion': 'error',
139
-
140
- /**
141
- * 7.22.0 에 추가된 스펙으로, 일단 모두 추가하여 테스트 중
142
- */
143
- 'react/jsx-key': ['error', { checkFragmentShorthand: true, checkKeyMustBeforeSpread: true }],
144
- 'react/jsx-no-constructed-context-values': 'error',
145
- 'react/jsx-indent-props': ['error', { indentMode: 'tab', ignoreTernaryOperator: true }],
146
- 'react/jsx-no-target-blank': ['error', { enforceDynamicLinks: 'always', warnOnSpreadAttributes: true }]
147
- },
148
- overrides: [
149
- /**
150
- * .js 파일에 대해 require 허용, ES6 module 로 변환하게끔 하지 않음
151
- */
152
- {
153
- files: ['*.js'],
154
- rules: {
155
- '@typescript-eslint/no-var-requires': 'off',
156
- '@typescript-eslint/explicit-module-boundary-types': 'off'
157
- }
158
- },
159
- {
160
- files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
161
- extends: ['plugin:testing-library/react', 'plugin:jest/recommended', 'plugin:jest/style']
162
- }
163
- ]
164
- };
@@ -1,163 +0,0 @@
1
- module.exports = {
2
- extends: [
3
- 'plugin:@typescript-eslint/recommended',
4
- 'plugin:react/recommended',
5
- 'prettier'
6
- ],
7
- parser: '@typescript-eslint/parser',
8
- parserOptions: {
9
- ecmaFeatures: {
10
- jsx: true
11
- },
12
- ecmaVersion: 6,
13
- sourceType: 'module'
14
- },
15
- plugins: ['react', '@typescript-eslint', 'react-hooks', 'import', '@emotion', 'prettier'],
16
- globals: {
17
- process: true
18
- },
19
- settings: {
20
- react: { version: 'detect' }
21
- },
22
- rules: {
23
- '@emotion/jsx-import': 'error',
24
-
25
- /**
26
- * prettier가 적용 되었는지 체크
27
- */
28
- 'prettier/prettier': 'warn',
29
- /**
30
- * 짧은 표기법으로 진행하는 형변환은 이해하기 어려울 수 있으므로 코드의 직관성이 떨어져 금지
31
- * https://eslint.org/docs/rules/no-implicit-coercion
32
- */
33
- 'no-implicit-coercion': 'error',
34
-
35
- /**
36
- * no-extra-boolean-cast
37
- * !!var, !!!var 등 구분하기 애매한 boolean 형변환을 명확하도록
38
- * https://eslint.org/docs/rules/no-extra-boolean-cast
39
- */
40
- 'no-extra-boolean-cast': 'off',
41
-
42
- /**
43
- * getter-return
44
- * 함수의 input output이 어떤지 사이드 이펙트를 측정하기 힘들어지므로,
45
- * 아무런 값도 return 하지 않는 함수일경우 경고
46
- * https://eslint.org/docs/rules/getter-return
47
- */
48
- 'getter-return': 'warn',
49
-
50
- /**
51
- * 재할당되지 않는 변수는 const 선언
52
- * https://eslint.org/docs/rules/prefer-const
53
- */
54
- 'prefer-const': 'error',
55
-
56
- /**
57
- * no-var
58
- * var 선언 금지
59
- * https://eslint.org/docs/rules/no-var
60
- */
61
- 'no-var': 'error',
62
-
63
- /**
64
- * @typescript-eslint/no-empty-interface
65
- * 빈 인터페이스 경고
66
- * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-interface.md
67
- */
68
- '@typescript-eslint/no-empty-interface': 'warn',
69
-
70
- /**
71
- * curly
72
- * if문 또는 for문에 대한 코드가 하나만 포홤된경우 중괄호를 생략할수 있으나, 버그를 유발하고 코드의 명확성을 떨어트릴 수 있기 때문에 금지
73
- * https://eslint.org/docs/rules/curly
74
- */
75
- curly: ['error', 'all'],
76
-
77
- /**
78
- * eqeqeq
79
- * === 및 !==등 형병환 비교 연산자만 허용, 대신 null은 해당 Rule에 대해서 예외 처리
80
- * https://eslint.org/docs/rules/eqeqeq#require-and-eqeqeq
81
- */
82
- eqeqeq: ['error', 'always', { null: 'ignore' }],
83
-
84
- /**
85
- * import/no-cycle
86
- * 다른 모듈끼리 서로를 import 하는것을 방지
87
- * https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-cycle.md
88
- * */
89
- 'import/no-cycle': ['error', { maxDepth: Infinity }],
90
-
91
- /**
92
- * import/no-duplicates
93
- * 중복된 import 금지
94
- * https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md
95
- * */
96
- 'import/no-duplicates': 'error',
97
-
98
- /**
99
- * react/display-name
100
- * React.memo, React.forwardRef도 막는 경우가 존재하여 해당 Rule은 생산성을 떨어트린다 판단되 off 처리됨
101
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/display-name.md
102
- * */
103
- 'react/display-name': 'off',
104
-
105
- /**
106
- * react/prop-types
107
- * Type선언으로 propTypes를 이미 명명하고 있으므로, off 처리함
108
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md
109
- */
110
- 'react/prop-types': 'off',
111
- /**
112
- * react-hooks/rules-of-hooks
113
- * 내부 코드 컨벤션상 React Hook 으로만 코드를 작성하도록 강제
114
- */
115
- 'react-hooks/rules-of-hooks': 'error',
116
-
117
- /**
118
- * react-hooks/exhaustive-deps
119
- * useCallback, useMemo, useEffect등 Hook에서 사용되는 변수중, 누락된 deps가 있는지 검사
120
- */
121
- 'react-hooks/exhaustive-deps': 'error',
122
-
123
- /**
124
- * @deprecated - 기존 eslint가 동작하지 않음으로써 생긴 에러가 다소 존재하여 임시로 warn 처리됨. 차후엔 error로 변경 필요
125
- * @typescript-eslint/no-explicit-any
126
- * any 타입 선언 금지
127
- * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-explicit-any.md
128
- */
129
- '@typescript-eslint/no-explicit-any': 'warn',
130
-
131
- /**
132
- * 아직 미개발 사항들이 있는 것 같아서 팀원들 확인이 필요하여 그대로 둠. error 로 변경 필요
133
- * tsconfig.json 의 noUnusedLocals, noUnusedParameters 옵션과 동시 변경
134
- */
135
- '@typescript-eslint/no-unused-vars': 'error',
136
-
137
- '@typescript-eslint/no-non-null-assertion': 'error',
138
-
139
- /**
140
- * 7.22.0 에 추가된 스펙으로, 일단 모두 추가하여 테스트 중
141
- */
142
- 'react/jsx-key': ['error', { checkFragmentShorthand: true, checkKeyMustBeforeSpread: true }],
143
- 'react/jsx-no-constructed-context-values': 'error',
144
- 'react/jsx-indent-props': ['error', { indentMode: 'tab', ignoreTernaryOperator: true }],
145
- 'react/jsx-no-target-blank': ['error', { enforceDynamicLinks: 'always', warnOnSpreadAttributes: true }]
146
- },
147
- overrides: [
148
- /**
149
- * .js 파일에 대해 require 허용, ES6 module 로 변환하게끔 하지 않음
150
- */
151
- {
152
- files: ['*.js'],
153
- rules: {
154
- '@typescript-eslint/no-var-requires': 'off',
155
- '@typescript-eslint/explicit-module-boundary-types': 'off'
156
- }
157
- },
158
- {
159
- files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
160
- extends: ['plugin:testing-library/react', 'plugin:jest/recommended', 'plugin:jest/style']
161
- }
162
- ]
163
- };
@@ -1,164 +0,0 @@
1
- module.exports = {
2
- extends: [
3
- 'plugin:@typescript-eslint/recommended',
4
- 'plugin:react/recommended',
5
- 'plugin:prettier/recommended',
6
- 'prettier'
7
- ],
8
- parser: '@typescript-eslint/parser',
9
- parserOptions: {
10
- ecmaFeatures: {
11
- jsx: true
12
- },
13
- ecmaVersion: 6,
14
- sourceType: 'module'
15
- },
16
- plugins: ['react', '@typescript-eslint', 'react-hooks', 'import', '@emotion', 'prettier'],
17
- globals: {
18
- process: true
19
- },
20
- settings: {
21
- react: { version: 'detect' }
22
- },
23
- rules: {
24
- '@emotion/jsx-import': 'error',
25
-
26
- /**
27
- * prettier가 적용 되었는지 체크
28
- */
29
- 'prettier/prettier': 'warn',
30
- /**
31
- * 짧은 표기법으로 진행하는 형변환은 이해하기 어려울 수 있으므로 코드의 직관성이 떨어져 금지
32
- * https://eslint.org/docs/rules/no-implicit-coercion
33
- */
34
- 'no-implicit-coercion': 'error',
35
-
36
- /**
37
- * no-extra-boolean-cast
38
- * !!var, !!!var 등 구분하기 애매한 boolean 형변환을 명확하도록
39
- * https://eslint.org/docs/rules/no-extra-boolean-cast
40
- */
41
- 'no-extra-boolean-cast': 'off',
42
-
43
- /**
44
- * getter-return
45
- * 함수의 input output이 어떤지 사이드 이펙트를 측정하기 힘들어지므로,
46
- * 아무런 값도 return 하지 않는 함수일경우 경고
47
- * https://eslint.org/docs/rules/getter-return
48
- */
49
- 'getter-return': 'warn',
50
-
51
- /**
52
- * 재할당되지 않는 변수는 const 선언
53
- * https://eslint.org/docs/rules/prefer-const
54
- */
55
- 'prefer-const': 'error',
56
-
57
- /**
58
- * no-var
59
- * var 선언 금지
60
- * https://eslint.org/docs/rules/no-var
61
- */
62
- 'no-var': 'error',
63
-
64
- /**
65
- * @typescript-eslint/no-empty-interface
66
- * 빈 인터페이스 경고
67
- * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-interface.md
68
- */
69
- '@typescript-eslint/no-empty-interface': 'warn',
70
-
71
- /**
72
- * curly
73
- * if문 또는 for문에 대한 코드가 하나만 포홤된경우 중괄호를 생략할수 있으나, 버그를 유발하고 코드의 명확성을 떨어트릴 수 있기 때문에 금지
74
- * https://eslint.org/docs/rules/curly
75
- */
76
- curly: ['error', 'all'],
77
-
78
- /**
79
- * eqeqeq
80
- * === 및 !==등 형병환 비교 연산자만 허용, 대신 null은 해당 Rule에 대해서 예외 처리
81
- * https://eslint.org/docs/rules/eqeqeq#require-and-eqeqeq
82
- */
83
- eqeqeq: ['error', 'always', { null: 'ignore' }],
84
-
85
- /**
86
- * import/no-cycle
87
- * 다른 모듈끼리 서로를 import 하는것을 방지
88
- * https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-cycle.md
89
- * */
90
- 'import/no-cycle': ['error', { maxDepth: Infinity }],
91
-
92
- /**
93
- * import/no-duplicates
94
- * 중복된 import 금지
95
- * https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-duplicates.md
96
- * */
97
- 'import/no-duplicates': 'error',
98
-
99
- /**
100
- * react/display-name
101
- * React.memo, React.forwardRef도 막는 경우가 존재하여 해당 Rule은 생산성을 떨어트린다 판단되 off 처리됨
102
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/display-name.md
103
- * */
104
- 'react/display-name': 'off',
105
-
106
- /**
107
- * react/prop-types
108
- * Type선언으로 propTypes를 이미 명명하고 있으므로, off 처리함
109
- * https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md
110
- */
111
- 'react/prop-types': 'off',
112
- /**
113
- * react-hooks/rules-of-hooks
114
- * 내부 코드 컨벤션상 React Hook 으로만 코드를 작성하도록 강제
115
- */
116
- 'react-hooks/rules-of-hooks': 'error',
117
-
118
- /**
119
- * react-hooks/exhaustive-deps
120
- * useCallback, useMemo, useEffect등 Hook에서 사용되는 변수중, 누락된 deps가 있는지 검사
121
- */
122
- 'react-hooks/exhaustive-deps': 'error',
123
-
124
- /**
125
- * @deprecated - 기존 eslint가 동작하지 않음으로써 생긴 에러가 다소 존재하여 임시로 warn 처리됨. 차후엔 error로 변경 필요
126
- * @typescript-eslint/no-explicit-any
127
- * any 타입 선언 금지
128
- * https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-explicit-any.md
129
- */
130
- '@typescript-eslint/no-explicit-any': 'warn',
131
-
132
- /**
133
- * 아직 미개발 사항들이 있는 것 같아서 팀원들 확인이 필요하여 그대로 둠. error 로 변경 필요
134
- * tsconfig.json 의 noUnusedLocals, noUnusedParameters 옵션과 동시 변경
135
- */
136
- '@typescript-eslint/no-unused-vars': 'error',
137
-
138
- '@typescript-eslint/no-non-null-assertion': 'error',
139
-
140
- /**
141
- * 7.22.0 에 추가된 스펙으로, 일단 모두 추가하여 테스트 중
142
- */
143
- 'react/jsx-key': ['error', { checkFragmentShorthand: true, checkKeyMustBeforeSpread: true }],
144
- 'react/jsx-no-constructed-context-values': 'error',
145
- 'react/jsx-indent-props': ['error', { indentMode: 'tab', ignoreTernaryOperator: true }],
146
- 'react/jsx-no-target-blank': ['error', { enforceDynamicLinks: 'always', warnOnSpreadAttributes: true }]
147
- },
148
- overrides: [
149
- /**
150
- * .js 파일에 대해 require 허용, ES6 module 로 변환하게끔 하지 않음
151
- */
152
- {
153
- files: ['*.js'],
154
- rules: {
155
- '@typescript-eslint/no-var-requires': 'off',
156
- '@typescript-eslint/explicit-module-boundary-types': 'off'
157
- }
158
- },
159
- {
160
- files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'],
161
- extends: ['plugin:testing-library/react', 'plugin:jest/recommended', 'plugin:jest/style']
162
- }
163
- ]
164
- };