@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.
- package/dist/components/Button/DoubleButton/index.d.ts +3 -3
- package/dist/components/Control/Switch/index.d.ts +1 -0
- package/dist/components/Control/Switch/index.js +3 -3
- package/dist/components/Control/Switch/index.stories.d.ts +2 -2
- package/dist/components/Control/Switch/index.stories.js +3 -2
- package/dist/components/Control/Switch/index.styled.d.ts +2 -0
- package/dist/components/Control/Switch/index.styled.js +35 -6
- package/dist/components/Modal/index.d.ts +2 -2
- package/dist/library/BasicLayout/index.d.ts +3 -1
- package/dist/library/Flex/index.stories.d.ts +2 -1
- package/package.json +18 -20
- package/.history/.eslintrc.config_20240620114140.js +0 -39
- package/.history/.eslintrc.config_20240620130453.js +0 -164
- package/.history/.eslintrc_20230510193851.json +0 -164
- package/.history/.eslintrc_20240620114141.json +0 -39
- package/.history/.eslintrc_20240620131751.js +0 -164
- package/.history/.eslintrc_20240620132945.js +0 -164
- package/.history/.eslintrc_20240620133123.js +0 -163
- package/.history/.eslintrc_20240620133153.js +0 -164
- package/.history/.gitignore_20240620105113 +0 -21
- package/.history/.husky/commit-msg_20230510193851 +0 -4
- package/.history/.husky/commit-msg_20240620132755 +0 -4
- package/.history/.storybook/main_20230511183243.ts +0 -15
- package/.history/.storybook/main_20240620103059.ts +0 -9
- package/.history/.storybook/main_20240620103349.ts +0 -15
- package/.history/config-overrides_20230523140418.js +0 -0
- package/.history/config-overrides_20230523140429.js +0 -7
- package/.history/config-overrides_20230523140438.js +0 -7
- package/.history/config-overrides_20230523140456.js +0 -7
- package/.history/config-overrides_20230523140500.js +0 -7
- package/.history/config-overrides_20230523141258.js +0 -8
- package/.history/config-overrides_20230523141523.js +0 -15
- package/.history/config-overrides_20230523141527.js +0 -14
- package/.history/config-overrides_20230523141528.js +0 -14
- package/.history/config-overrides_20230523141828.js +0 -7
- package/.history/config-overrides_20230523142043.js +0 -7
- package/.history/config-overrides_20230523144759.js +0 -7
- package/.history/config-overrides_20230523144844.js +0 -7
- package/.history/config-overrides_20230523145025.js +0 -8
- package/.history/config-overrides_20230523145244.js +0 -8
- package/.history/config-overrides_20230523145557.js +0 -8
- package/.history/config-overrides_20230523145640.js +0 -8
- package/.history/config-overrides_20230523145642.js +0 -8
- package/.history/config-overrides_20230523150101.js +0 -8
- package/.history/config-overrides_20230523150817.js +0 -8
- package/.history/config-overrides_20230523151011.js +0 -8
- package/.history/config-overrides_20230523151022.js +0 -8
- package/.history/config-overrides_20230523151050.js +0 -8
- package/.history/config-overrides_20230523151057.js +0 -8
- package/.history/config-overrides_20230523155303.js +0 -5
- package/.history/config-overrides_20230524135448.js +0 -6
- package/.history/e2e/pages/dist/index_20230518173449.html +0 -15
- package/.history/e2e/pages/dist/index_20230518182705.html +0 -20
- package/.history/e2e/pages/dist/index_20230522152456.html +0 -18
- package/.history/e2e/pages/dist/index_20230522152506.html +0 -16
- package/.history/e2e/pages/index_20230511135904.html +0 -15
- package/.history/e2e/pages/index_20230511173402.html +0 -21
- package/.history/e2e/pages/index_20230511173459.html +0 -21
- package/.history/e2e/pages/index_20230511173549.html +0 -17
- package/.history/e2e/pages/index_20230511174725.html +0 -366
- package/.history/e2e/pages/index_20230511174818.html +0 -18
- package/.history/e2e/pages/index_20230511175151.html +0 -366
- package/.history/e2e/pages/index_20230511180114.html +0 -15
- package/.history/e2e/pages/index_20230518182740.html +0 -20
- package/.history/e2e/pages/index_20230518182804.html +0 -21
- package/.history/e2e/pages/index_20230522153300.html +0 -15
- package/.history/e2e/pages/public/index_20230523135713.html +0 -15
- package/.history/e2e/pages/public/index_20230523141954.html +0 -14
- package/.history/e2e/pages/src/api/index_20230510193933.ts +0 -26
- package/.history/e2e/pages/src/api/index_20230511113640.ts +0 -26
- package/.history/e2e/pages/src/api/index_20230511151752.ts +0 -26
- package/.history/e2e/pages/src/components/Loading_20230511175658.tsx +0 -0
- package/.history/e2e/pages/src/components/Loading_20230511175734.tsx +0 -12
- package/.history/e2e/pages/src/components/Loading_20230511175931.tsx +0 -14
- package/.history/e2e/pages/src/index.styled_20230510193933.ts +0 -13
- package/.history/e2e/pages/src/index.styled_20230511151410.ts +0 -13
- package/.history/e2e/pages/src/index.styled_20230511151526.ts +0 -13
- package/.history/e2e/pages/src/index.styled_20230511151814.ts +0 -13
- package/.history/e2e/pages/src/index.styled_20230511172842.ts +0 -14
- package/.history/e2e/pages/src/index.styled_20230511172927.ts +0 -15
- package/.history/e2e/pages/src/index.styled_20230511172936.ts +0 -16
- package/.history/e2e/pages/src/index.styled_20230511173014.ts +0 -13
- package/.history/e2e/pages/src/index_20230510193933.tsx +0 -64
- package/.history/e2e/pages/src/index_20230511112721.tsx +0 -64
- package/.history/e2e/pages/src/index_20230511124302.tsx +0 -77
- package/.history/e2e/pages/src/index_20230511124322.tsx +0 -77
- package/.history/e2e/pages/src/index_20230511124506.tsx +0 -72
- package/.history/e2e/pages/src/index_20230511124716.tsx +0 -72
- package/.history/e2e/pages/src/index_20230511133409.tsx +0 -72
- package/.history/e2e/pages/src/index_20230511141608.tsx +0 -77
- package/.history/e2e/pages/src/index_20230511141609.tsx +0 -77
- package/.history/e2e/pages/src/index_20230511142059.tsx +0 -77
- package/.history/e2e/pages/src/index_20230511144242.tsx +0 -77
- package/.history/e2e/pages/src/index_20230511145239.tsx +0 -81
- package/.history/e2e/pages/src/index_20230511145611.tsx +0 -81
- package/.history/e2e/pages/src/index_20230511150038.tsx +0 -81
- package/.history/e2e/pages/src/index_20230511150332.tsx +0 -87
- package/.history/e2e/pages/src/index_20230511150409.tsx +0 -87
- package/.history/e2e/pages/src/index_20230511150806.tsx +0 -96
- package/.history/e2e/pages/src/index_20230511150921.tsx +0 -96
- package/.history/e2e/pages/src/index_20230511151119.tsx +0 -96
- package/.history/e2e/pages/src/index_20230511151212.tsx +0 -89
- package/.history/e2e/pages/src/index_20230511151213.tsx +0 -89
- package/.history/e2e/pages/src/index_20230511151402.tsx +0 -86
- package/.history/e2e/pages/src/index_20230511151506.tsx +0 -79
- package/.history/e2e/pages/src/index_20230511151508.tsx +0 -75
- package/.history/e2e/pages/src/index_20230511153005.tsx +0 -71
- package/.history/e2e/pages/src/index_20230511153107.tsx +0 -73
- package/.history/e2e/pages/src/index_20230511153108.tsx +0 -73
- package/.history/e2e/pages/src/index_20230511153531.tsx +0 -76
- package/.history/e2e/pages/src/index_20230511153708.tsx +0 -73
- package/.history/e2e/pages/src/index_20230511153839.tsx +0 -75
- package/.history/e2e/pages/src/index_20230511154213.tsx +0 -81
- package/.history/e2e/pages/src/index_20230511154216.tsx +0 -79
- package/.history/e2e/pages/src/index_20230511154409.tsx +0 -83
- package/.history/e2e/pages/src/index_20230511154449.tsx +0 -85
- package/.history/e2e/pages/src/index_20230511154635.tsx +0 -91
- package/.history/e2e/pages/src/index_20230511154636.tsx +0 -91
- package/.history/e2e/pages/src/index_20230511154930.tsx +0 -96
- package/.history/e2e/pages/src/index_20230511154944.tsx +0 -94
- package/.history/e2e/pages/src/index_20230511154945.tsx +0 -93
- package/.history/e2e/pages/src/index_20230511155010.tsx +0 -91
- package/.history/e2e/pages/src/index_20230511160112.tsx +0 -92
- package/.history/e2e/pages/src/index_20230511160930.tsx +0 -92
- package/.history/e2e/pages/src/index_20230511161050.tsx +0 -92
- package/.history/e2e/pages/src/index_20230511161157.tsx +0 -93
- package/.history/e2e/pages/src/index_20230511161212.tsx +0 -93
- package/.history/e2e/pages/src/index_20230511161244.tsx +0 -92
- package/.history/e2e/pages/src/index_20230511161304.tsx +0 -92
- package/.history/e2e/pages/src/index_20230511161307.tsx +0 -92
- package/.history/e2e/pages/src/index_20230511161344.tsx +0 -92
- package/.history/e2e/pages/src/index_20230511161426.tsx +0 -98
- package/.history/e2e/pages/src/index_20230511161627.tsx +0 -101
- package/.history/e2e/pages/src/index_20230511161654.tsx +0 -101
- package/.history/e2e/pages/src/index_20230511161714.tsx +0 -102
- package/.history/e2e/pages/src/index_20230511161721.tsx +0 -103
- package/.history/e2e/pages/src/index_20230511161739.tsx +0 -105
- package/.history/e2e/pages/src/index_20230511161856.tsx +0 -104
- package/.history/e2e/pages/src/index_20230511162002.tsx +0 -105
- package/.history/e2e/pages/src/index_20230511162106.tsx +0 -106
- package/.history/e2e/pages/src/index_20230511163614.tsx +0 -109
- package/.history/e2e/pages/src/index_20230511163744.tsx +0 -109
- package/.history/e2e/pages/src/index_20230511165031.tsx +0 -112
- package/.history/e2e/pages/src/index_20230511165033.tsx +0 -111
- package/.history/e2e/pages/src/index_20230511165356.tsx +0 -112
- package/.history/e2e/pages/src/index_20230511165613.tsx +0 -113
- package/.history/e2e/pages/src/index_20230511165615.tsx +0 -113
- package/.history/e2e/pages/src/index_20230511170431.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511170448.tsx +0 -122
- package/.history/e2e/pages/src/index_20230511170740.tsx +0 -123
- package/.history/e2e/pages/src/index_20230511170856.tsx +0 -123
- package/.history/e2e/pages/src/index_20230511170952.tsx +0 -124
- package/.history/e2e/pages/src/index_20230511171513.tsx +0 -119
- package/.history/e2e/pages/src/index_20230511171555.tsx +0 -119
- package/.history/e2e/pages/src/index_20230511171611.tsx +0 -119
- package/.history/e2e/pages/src/index_20230511171832.tsx +0 -120
- package/.history/e2e/pages/src/index_20230511171850.tsx +0 -120
- package/.history/e2e/pages/src/index_20230511172356.tsx +0 -113
- package/.history/e2e/pages/src/index_20230511172732.tsx +0 -118
- package/.history/e2e/pages/src/index_20230511172752.tsx +0 -116
- package/.history/e2e/pages/src/index_20230511172825.tsx +0 -116
- package/.history/e2e/pages/src/index_20230511173028.tsx +0 -115
- package/.history/e2e/pages/src/index_20230511173124.tsx +0 -114
- package/.history/e2e/pages/src/index_20230511173144.tsx +0 -115
- package/.history/e2e/pages/src/index_20230511173209.tsx +0 -119
- package/.history/e2e/pages/src/index_20230511173213.tsx +0 -119
- package/.history/e2e/pages/src/index_20230511173235.tsx +0 -123
- package/.history/e2e/pages/src/index_20230511173238.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511173303.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511173312.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511173604.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511173623.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511173628.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511174842.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175122.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175133.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175327.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175329.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175343.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175344.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175345.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175412.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175422.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175426.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175501.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175515.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175521.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175530.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175538.tsx +0 -123
- package/.history/e2e/pages/src/index_20230511175542.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175602.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175621.tsx +0 -121
- package/.history/e2e/pages/src/index_20230511175813.tsx +0 -116
- package/.history/e2e/pages/src/index_20230511175819.tsx +0 -116
- package/.history/e2e/pages/src/index_20230511175844.tsx +0 -116
- package/.history/e2e/pages/src/index_20230511175845.tsx +0 -116
- package/.history/e2e/pages/src/index_20230511180023.tsx +0 -118
- package/.history/e2e/pages/src/index_20230511182316.tsx +0 -125
- package/.history/e2e/pages/src/index_20230511182608.tsx +0 -125
- package/.history/e2e/pages/src/index_20230511182609.tsx +0 -125
- package/.history/e2e/pages/src/index_20230511182757.tsx +0 -125
- package/.history/e2e/pages/src/index_20230511182903.tsx +0 -125
- package/.history/e2e/pages/src/index_20230511182937.tsx +0 -126
- package/.history/e2e/pages/src/index_20230511182948.tsx +0 -125
- package/.history/e2e/pages/src/index_20230511183018.tsx +0 -125
- package/.history/e2e/pages/src/index_20230511183133.tsx +0 -125
- package/.history/e2e/pages/src/index_20230512155015.tsx +0 -125
- package/.history/e2e/pages/src/index_20230523142330.tsx +0 -126
- package/.history/e2e/pages/src/index_20230523142331.tsx +0 -126
- package/.history/e2e/pages/src/index_20230524135532.tsx +0 -125
- package/.history/e2e/pages/src/index_20230524221001.tsx +0 -125
- package/.history/e2e/pages/src/index_20230524221118.tsx +0 -125
- package/.history/e2e/pages/src/util/index_20230510193933.ts +0 -72
- package/.history/e2e/pages/src/util/index_20230511160018.ts +0 -73
- package/.history/e2e/pages/src/util/index_20230511160344.ts +0 -74
- package/.history/e2e/pages/src/util/index_20230511160737.ts +0 -75
- package/.history/e2e/pages/src/util/index_20230511160755.ts +0 -75
- package/.history/e2e/pages/src/util/index_20230511160837.ts +0 -73
- package/.history/e2e/pages/src/util/index_20230511161107.ts +0 -72
- package/.history/e2e/pages/src/util/index_20230511172301.ts +0 -81
- package/.history/e2e/pages/src/util/index_20230512154151.ts +0 -89
- package/.history/e2e/pages/src/util/index_20230512154521.ts +0 -98
- package/.history/e2e/pages/src/util/index_20230512154722.ts +0 -98
- package/.history/e2e/pages/src/util/index_20230512154913.ts +0 -91
- package/.history/e2e/pages/src/util/index_20230512155144.ts +0 -91
- package/.history/e2e/pages/src/util/index_20230512155145.ts +0 -91
- package/.history/e2e/pages/src/util/index_20230512155146.ts +0 -91
- package/.history/e2e/pages/src/util/index_20230512155153.ts +0 -90
- package/.history/e2e/pages/src/util/index_20230512155624.ts +0 -90
- package/.history/e2e/pages/src/util/index_20230512155741.ts +0 -90
- package/.history/e2e/pages/src/util/index_20230512155917.ts +0 -90
- package/.history/e2e/pages/src/util/index_20230524221047.ts +0 -97
- package/.history/e2e/pages/webpack.config_20230510193933.js +0 -30
- package/.history/e2e/pages/webpack.config_20230511144239.js +0 -39
- package/.history/e2e/pages/webpack.config_20230511144341.js +0 -39
- package/.history/e2e/pages/webpack.config_20230511144430.js +0 -39
- package/.history/e2e/pages/webpack.config_20230511144644.js +0 -41
- package/.history/e2e/pages/webpack.config_20230511144645.js +0 -41
- package/.history/e2e/pages/webpack.config_20230511144753.js +0 -41
- package/.history/e2e/pages/webpack.config_20230511144802.js +0 -41
- package/.history/e2e/pages/webpack.config_20230511144845.js +0 -41
- package/.history/e2e/pages/webpack.config_20230511144926.js +0 -41
- package/.history/e2e/pages/webpack.config_20230511144934.js +0 -41
- package/.history/e2e/pages/webpack.config_20230511144943.js +0 -40
- package/.history/e2e/pages/webpack.config_20230511145020.js +0 -39
- package/.history/e2e/pages/webpack.config_20230511145106.js +0 -41
- package/.history/e2e/pages/webpack.config_20230511145716.js +0 -41
- package/.history/e2e/pages/webpack.config_20230511145916.js +0 -36
- package/.history/e2e/pages/webpack.config_20230518173344.js +0 -37
- package/.history/e2e/pages/webpack.config_20230518174552.js +0 -36
- package/.history/e2e/pages/webpack.config_20230523133653.js +0 -35
- package/.history/e2e/public/index_20230524155527.html +0 -43
- package/.history/e2e/public/index_20230524162254.html +0 -43
- package/.history/e2e/public/index_20230524185229.html +0 -37
- package/.history/e2e/public/index_20230524215646.html +0 -13
- package/.history/e2e/public/index_20230524215648.html +0 -12
- package/.history/e2e/src/api/index_20230524161035.ts +0 -26
- package/.history/e2e/src/api/index_20230524215532.ts +0 -26
- package/.history/e2e/src/components/Home/index_20230524161228.tsx +0 -125
- package/.history/e2e/src/components/Home/index_20230524161356.tsx +0 -116
- package/.history/e2e/src/components/Home/index_20230524161420.tsx +0 -115
- package/.history/e2e/src/components/Home/index_20230524161442.tsx +0 -115
- package/.history/e2e/src/components/Home/index_20230525002542.tsx +0 -123
- package/.history/e2e/src/components/Home/index_20230525002658.tsx +0 -125
- package/.history/e2e/src/components/Home/index_20230525002730.tsx +0 -126
- package/.history/e2e/src/index_20230524155527.tsx +0 -19
- package/.history/e2e/src/index_20230524161122.tsx +0 -125
- package/.history/e2e/src/index_20230524161206.tsx +0 -19
- package/.history/e2e/src/index_20230524161343.tsx +0 -17
- package/.history/e2e/src/index_20230524161927.tsx +0 -12
- package/.history/e2e/src/index_20230524161943.tsx +0 -11
- package/.history/e2e/src/index_20230524215444.tsx +0 -16
- package/.history/e2e/src/util/index_20230524222013.ts +0 -96
- package/.history/e2e/src/util/index_20230525000927.ts +0 -96
- package/.history/e2e/src/util/index_20230525000928.ts +0 -96
- package/.history/e2e/src/util/index_20230525001227.ts +0 -97
- package/.history/e2e/src/util/index_20230525001229.ts +0 -97
- package/.history/e2e/src/util/index_20230525001439.ts +0 -97
- package/.history/e2e/src/util/index_20230525001641.ts +0 -101
- package/.history/e2e/src/util/index_20230525001953.ts +0 -100
- package/.history/e2e/src/util/index_20230525002514.ts +0 -100
- package/.history/e2e/src/util/index_20230525002533.ts +0 -100
- package/.history/ops/buildspec_20240620105123.yml +0 -17
- package/.history/package_20240620101011.json +0 -176
- package/.history/package_20240620102132.json +0 -180
- package/.history/package_20240620102136.json +0 -179
- package/.history/package_20240620102151.json +0 -179
- package/.history/package_20240620102153.json +0 -179
- package/.history/package_20240620102228.json +0 -180
- package/.history/package_20240620102534.json +0 -181
- package/.history/package_20240620102955.json +0 -180
- package/.history/package_20240620103103.json +0 -181
- package/.history/package_20240620103105.json +0 -180
- package/.history/package_20240620103120.json +0 -181
- package/.history/package_20240620103532.json +0 -181
- package/.history/package_20240620103741.json +0 -181
- package/.history/package_20240620103803.json +0 -181
- package/.history/package_20240620105356.json +0 -181
- package/.history/package_20240620110005.json +0 -181
- package/.history/package_20240620110042.json +0 -172
- package/.history/package_20240620131821.json +0 -181
- package/.history/package_20240620133118.json +0 -179
- package/.history/package_20240620133317.json +0 -179
- package/.history/package_20240620133341.json +0 -179
- package/.history/package_20240620135524.json +0 -178
- package/.history/package_20240704143808.json +0 -180
- package/.history/package_20240704143813.json +0 -180
- package/.history/public/index_20230523141735.html +0 -15
- package/.history/public/index_20230523141958.html +0 -14
- package/.history/src/components/Button/BaseButton/index_20240620100732.tsx +0 -101
- package/.history/src/components/Button/BaseButton/index_20240704140342.tsx +0 -103
- package/.history/src/components/Button/BaseButton/index_20240704140358.tsx +0 -103
- package/.history/src/components/Button/BaseButton/index_20240704140500.tsx +0 -101
- package/.history/src/components/Button/BaseButton/index_20240704140632.tsx +0 -103
- package/.history/src/components/Button/BaseButton/index_20240704140652.tsx +0 -106
- package/.history/src/components/Button/BaseButton/index_20240704140700.tsx +0 -107
- package/.history/src/components/Button/BaseButton/index_20240704140711.tsx +0 -108
- package/.history/src/components/Button/BaseButton/index_20240704140714.tsx +0 -106
- package/.history/src/components/Button/BaseButton/index_20240704140717.tsx +0 -106
- package/.history/src/components/Button/BaseButton/index_20240704140900.tsx +0 -105
- package/.history/src/components/Button/BaseButton/index_20240704140926.tsx +0 -106
- package/.history/src/components/Button/BaseButton/index_20240704140954.tsx +0 -105
- package/.history/src/components/Button/BaseButton/index_20240704141107.tsx +0 -105
- package/.history/src/components/Button/BaseButton/index_20240704141112.tsx +0 -103
- package/.history/src/components/Button/DoubleButton/index_20240620100732.tsx +0 -53
- package/.history/src/components/Button/DoubleButton/index_20240620133519.tsx +0 -53
- package/.history/src/components/Button/DoubleButton/index_20240620133607.tsx +0 -53
- package/.history/src/components/Control/CheckBox/index_20231208085202.tsx +0 -51
- package/.history/src/components/Control/CheckBox/index_20240102131509.tsx +0 -53
- package/.history/src/components/Control/CheckMark/index_20231208110651.tsx +0 -33
- package/.history/src/components/Control/CheckMark/index_20240104141745.tsx +0 -35
- package/.history/src/components/Input/BaseInput/index.styled_20230518172815.ts +0 -149
- package/.history/src/components/Input/BaseInput/index.styled_20230620134104.ts +0 -150
- package/.history/src/components/Input/BaseInput/index.styled_20230620153553.ts +0 -150
- package/.history/src/components/Input/BaseInput/index.styled_20230620162224.ts +0 -151
- package/.history/src/components/Input/PostfixInput/index.styled_20230518172815.ts +0 -71
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181154.ts +0 -72
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181243.ts +0 -71
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181840.ts +0 -70
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181843.ts +0 -70
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181844.ts +0 -70
- package/.history/src/components/Input/PostfixInput/index.styled_20230620110646.ts +0 -70
- package/.history/src/components/Input/PostfixInput/index_20231208085501.tsx +0 -173
- package/.history/src/components/Input/PostfixInput/index_20231208085544.tsx +0 -174
- package/.history/src/components/Input/PostfixInput/index_20231208085701.tsx +0 -175
- package/.history/src/components/Input/PostfixInput/index_20231208090034.tsx +0 -175
- package/.history/src/components/Input/PostfixInput/index_20231208110722.tsx +0 -174
- package/.history/src/components/Input/PostfixInput/index_20231208110738.tsx +0 -175
- package/.history/src/components/Input/PostfixInput/index_20231208110752.tsx +0 -176
- package/.history/src/components/Input/index.stories_20230523113113.tsx +0 -209
- package/.history/src/components/Input/index.stories_20230619181021.tsx +0 -210
- package/.history/src/components/Input/index.stories_20230619181656.tsx +0 -210
- package/.history/src/components/Input/index.stories_20230619184317.tsx +0 -210
- package/.history/src/components/Loading/index_20230510193851.ts +0 -4
- package/.history/src/components/Loading/index_20230511140917.ts +0 -5
- package/.history/src/components/Loading/index_20230511151553.ts +0 -4
- package/.history/src/core/TextStyles/index_20230518172815.ts +0 -158
- package/.history/src/core/TextStyles/index_20230522164636.ts +0 -158
- package/.history/src/hooks/useLayoutIsMobile_20230510193851.ts +0 -23
- package/.history/src/hooks/useLayoutIsMobile_20240112115425.ts +0 -23
- package/.history/src/library/BasicLayout/index_20240620100732.tsx +0 -89
- package/.history/src/library/BasicLayout/index_20240620101635.tsx +0 -89
- package/.history/src/library/BasicLayout/index_20240620101752.tsx +0 -89
- package/.history/src/library/Flex/index.stories_20231208085202.tsx +0 -41
- package/.history/src/library/Flex/index.stories_20240620133414.tsx +0 -41
- package/.history/src/storybook/extend-color-type.stories_20240620100732.tsx +0 -613
- package/.history/src/storybook/extend-color-type.stories_20240620133449.tsx +0 -613
- package/.history/src/storybook/extend-color-type.stories_20240620133541.tsx +0 -611
- package/.history/src/storybook/extend-color-type.stories_20240620133550.tsx +0 -609
- package/.history/src/storybook/extend-color-type.stories_20240620133554.tsx +0 -609
- package/.history/src/utils/GenerateColorStyle/single-button_20240620100732.ts +0 -109
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153725.ts +0 -110
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153726.ts +0 -110
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153826.ts +0 -105
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153909.ts +0 -110
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153934.ts +0 -111
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153935.ts +0 -111
- package/.history/src/utils/GenerateColorStyle/single-button_20240704141120.ts +0 -109
- package/.history/yarn_20230510193944.lock +0 -11943
- package/.history/yarn_20230510194159.lock +0 -11941
- 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
|
-
};
|