@pfct/purple 1.3.8-rc.2 → 1.4.0-npm-test.2
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/.history/.eslintrc.config_20240620114140.js +39 -0
- package/.history/.eslintrc.config_20240620130453.js +164 -0
- package/.history/.eslintrc_20230510193851.json +164 -0
- package/.history/.eslintrc_20240620114141.json +39 -0
- package/.history/.eslintrc_20240620131751.js +164 -0
- package/.history/.eslintrc_20240620132945.js +164 -0
- package/.history/.eslintrc_20240620133123.js +163 -0
- package/.history/.eslintrc_20240620133153.js +164 -0
- package/.history/.gitignore_20240620105113 +21 -0
- package/.history/.husky/commit-msg_20230510193851 +4 -0
- package/.history/.husky/commit-msg_20240620132755 +4 -0
- package/.history/.storybook/main_20230511183243.ts +15 -0
- package/.history/.storybook/main_20240620103059.ts +9 -0
- package/.history/.storybook/main_20240620103349.ts +15 -0
- package/.history/config-overrides_20230523140429.js +7 -0
- package/.history/config-overrides_20230523140438.js +7 -0
- package/.history/config-overrides_20230523140456.js +7 -0
- package/.history/config-overrides_20230523140500.js +7 -0
- package/.history/config-overrides_20230523141258.js +8 -0
- package/.history/config-overrides_20230523141523.js +15 -0
- package/.history/config-overrides_20230523141527.js +14 -0
- package/.history/config-overrides_20230523141528.js +14 -0
- package/.history/config-overrides_20230523141828.js +7 -0
- package/.history/config-overrides_20230523142043.js +7 -0
- package/.history/config-overrides_20230523144759.js +7 -0
- package/.history/config-overrides_20230523144844.js +7 -0
- package/.history/config-overrides_20230523145025.js +8 -0
- package/.history/config-overrides_20230523145244.js +8 -0
- package/.history/config-overrides_20230523145557.js +8 -0
- package/.history/config-overrides_20230523145640.js +8 -0
- package/.history/config-overrides_20230523145642.js +8 -0
- package/.history/config-overrides_20230523150101.js +8 -0
- package/.history/config-overrides_20230523150817.js +8 -0
- package/.history/config-overrides_20230523151011.js +8 -0
- package/.history/config-overrides_20230523151022.js +8 -0
- package/.history/config-overrides_20230523151050.js +8 -0
- package/.history/config-overrides_20230523151057.js +8 -0
- package/.history/config-overrides_20230523155303.js +5 -0
- package/.history/config-overrides_20230524135448.js +6 -0
- package/.history/e2e/pages/dist/index_20230518173449.html +15 -0
- package/.history/e2e/pages/dist/index_20230518182705.html +20 -0
- package/.history/e2e/pages/dist/index_20230522152456.html +18 -0
- package/.history/e2e/pages/dist/index_20230522152506.html +16 -0
- package/.history/e2e/pages/index_20230511135904.html +15 -0
- package/.history/e2e/pages/index_20230511173402.html +21 -0
- package/.history/e2e/pages/index_20230511173459.html +21 -0
- package/.history/e2e/pages/index_20230511173549.html +17 -0
- package/.history/e2e/pages/index_20230511174725.html +366 -0
- package/.history/e2e/pages/index_20230511174818.html +18 -0
- package/.history/e2e/pages/index_20230511175151.html +366 -0
- package/.history/e2e/pages/index_20230511180114.html +15 -0
- package/.history/e2e/pages/index_20230518182740.html +20 -0
- package/.history/e2e/pages/index_20230518182804.html +21 -0
- package/.history/e2e/pages/index_20230522153300.html +15 -0
- package/.history/e2e/pages/public/index_20230523135713.html +15 -0
- package/.history/e2e/pages/public/index_20230523141954.html +14 -0
- package/.history/e2e/pages/src/api/index_20230510193933.ts +26 -0
- package/.history/e2e/pages/src/api/index_20230511113640.ts +26 -0
- package/.history/e2e/pages/src/api/index_20230511151752.ts +26 -0
- package/.history/e2e/pages/src/components/Loading_20230511175734.tsx +12 -0
- package/.history/e2e/pages/src/components/Loading_20230511175931.tsx +14 -0
- package/.history/e2e/pages/src/index.styled_20230510193933.ts +13 -0
- package/.history/e2e/pages/src/index.styled_20230511151410.ts +13 -0
- package/.history/e2e/pages/src/index.styled_20230511151526.ts +13 -0
- package/.history/e2e/pages/src/index.styled_20230511151814.ts +13 -0
- package/.history/e2e/pages/src/index.styled_20230511172842.ts +14 -0
- package/.history/e2e/pages/src/index.styled_20230511172927.ts +15 -0
- package/.history/e2e/pages/src/index.styled_20230511172936.ts +16 -0
- package/.history/e2e/pages/src/index.styled_20230511173014.ts +13 -0
- package/.history/e2e/pages/src/index_20230510193933.tsx +64 -0
- package/.history/e2e/pages/src/index_20230511112721.tsx +64 -0
- package/.history/e2e/pages/src/index_20230511124302.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511124322.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511124506.tsx +72 -0
- package/.history/e2e/pages/src/index_20230511124716.tsx +72 -0
- package/.history/e2e/pages/src/index_20230511133409.tsx +72 -0
- package/.history/e2e/pages/src/index_20230511141608.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511141609.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511142059.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511144242.tsx +77 -0
- package/.history/e2e/pages/src/index_20230511145239.tsx +81 -0
- package/.history/e2e/pages/src/index_20230511145611.tsx +81 -0
- package/.history/e2e/pages/src/index_20230511150038.tsx +81 -0
- package/.history/e2e/pages/src/index_20230511150332.tsx +87 -0
- package/.history/e2e/pages/src/index_20230511150409.tsx +87 -0
- package/.history/e2e/pages/src/index_20230511150806.tsx +96 -0
- package/.history/e2e/pages/src/index_20230511150921.tsx +96 -0
- package/.history/e2e/pages/src/index_20230511151119.tsx +96 -0
- package/.history/e2e/pages/src/index_20230511151212.tsx +89 -0
- package/.history/e2e/pages/src/index_20230511151213.tsx +89 -0
- package/.history/e2e/pages/src/index_20230511151402.tsx +86 -0
- package/.history/e2e/pages/src/index_20230511151506.tsx +79 -0
- package/.history/e2e/pages/src/index_20230511151508.tsx +75 -0
- package/.history/e2e/pages/src/index_20230511153005.tsx +71 -0
- package/.history/e2e/pages/src/index_20230511153107.tsx +73 -0
- package/.history/e2e/pages/src/index_20230511153108.tsx +73 -0
- package/.history/e2e/pages/src/index_20230511153531.tsx +76 -0
- package/.history/e2e/pages/src/index_20230511153708.tsx +73 -0
- package/.history/e2e/pages/src/index_20230511153839.tsx +75 -0
- package/.history/e2e/pages/src/index_20230511154213.tsx +81 -0
- package/.history/e2e/pages/src/index_20230511154216.tsx +79 -0
- package/.history/e2e/pages/src/index_20230511154409.tsx +83 -0
- package/.history/e2e/pages/src/index_20230511154449.tsx +85 -0
- package/.history/e2e/pages/src/index_20230511154635.tsx +91 -0
- package/.history/e2e/pages/src/index_20230511154636.tsx +91 -0
- package/.history/e2e/pages/src/index_20230511154930.tsx +96 -0
- package/.history/e2e/pages/src/index_20230511154944.tsx +94 -0
- package/.history/e2e/pages/src/index_20230511154945.tsx +93 -0
- package/.history/e2e/pages/src/index_20230511155010.tsx +91 -0
- package/.history/e2e/pages/src/index_20230511160112.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511160930.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161050.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161157.tsx +93 -0
- package/.history/e2e/pages/src/index_20230511161212.tsx +93 -0
- package/.history/e2e/pages/src/index_20230511161244.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161304.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161307.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161344.tsx +92 -0
- package/.history/e2e/pages/src/index_20230511161426.tsx +98 -0
- package/.history/e2e/pages/src/index_20230511161627.tsx +101 -0
- package/.history/e2e/pages/src/index_20230511161654.tsx +101 -0
- package/.history/e2e/pages/src/index_20230511161714.tsx +102 -0
- package/.history/e2e/pages/src/index_20230511161721.tsx +103 -0
- package/.history/e2e/pages/src/index_20230511161739.tsx +105 -0
- package/.history/e2e/pages/src/index_20230511161856.tsx +104 -0
- package/.history/e2e/pages/src/index_20230511162002.tsx +105 -0
- package/.history/e2e/pages/src/index_20230511162106.tsx +106 -0
- package/.history/e2e/pages/src/index_20230511163614.tsx +109 -0
- package/.history/e2e/pages/src/index_20230511163744.tsx +109 -0
- package/.history/e2e/pages/src/index_20230511165031.tsx +112 -0
- package/.history/e2e/pages/src/index_20230511165033.tsx +111 -0
- package/.history/e2e/pages/src/index_20230511165356.tsx +112 -0
- package/.history/e2e/pages/src/index_20230511165613.tsx +113 -0
- package/.history/e2e/pages/src/index_20230511165615.tsx +113 -0
- package/.history/e2e/pages/src/index_20230511170431.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511170448.tsx +122 -0
- package/.history/e2e/pages/src/index_20230511170740.tsx +123 -0
- package/.history/e2e/pages/src/index_20230511170856.tsx +123 -0
- package/.history/e2e/pages/src/index_20230511170952.tsx +124 -0
- package/.history/e2e/pages/src/index_20230511171513.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511171555.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511171611.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511171832.tsx +120 -0
- package/.history/e2e/pages/src/index_20230511171850.tsx +120 -0
- package/.history/e2e/pages/src/index_20230511172356.tsx +113 -0
- package/.history/e2e/pages/src/index_20230511172732.tsx +118 -0
- package/.history/e2e/pages/src/index_20230511172752.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511172825.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511173028.tsx +115 -0
- package/.history/e2e/pages/src/index_20230511173124.tsx +114 -0
- package/.history/e2e/pages/src/index_20230511173144.tsx +115 -0
- package/.history/e2e/pages/src/index_20230511173209.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511173213.tsx +119 -0
- package/.history/e2e/pages/src/index_20230511173235.tsx +123 -0
- package/.history/e2e/pages/src/index_20230511173238.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173303.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173312.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173604.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173623.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511173628.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511174842.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175122.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175133.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175327.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175329.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175343.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175344.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175345.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175412.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175422.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175426.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175501.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175515.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175521.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175530.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175538.tsx +123 -0
- package/.history/e2e/pages/src/index_20230511175542.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175602.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175621.tsx +121 -0
- package/.history/e2e/pages/src/index_20230511175813.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511175819.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511175844.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511175845.tsx +116 -0
- package/.history/e2e/pages/src/index_20230511180023.tsx +118 -0
- package/.history/e2e/pages/src/index_20230511182316.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182608.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182609.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182757.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182903.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511182937.tsx +126 -0
- package/.history/e2e/pages/src/index_20230511182948.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511183018.tsx +125 -0
- package/.history/e2e/pages/src/index_20230511183133.tsx +125 -0
- package/.history/e2e/pages/src/index_20230512155015.tsx +125 -0
- package/.history/e2e/pages/src/index_20230523142330.tsx +126 -0
- package/.history/e2e/pages/src/index_20230523142331.tsx +126 -0
- package/.history/e2e/pages/src/index_20230524135532.tsx +125 -0
- package/.history/e2e/pages/src/index_20230524221001.tsx +125 -0
- package/.history/e2e/pages/src/index_20230524221118.tsx +125 -0
- package/.history/e2e/pages/src/util/index_20230510193933.ts +72 -0
- package/.history/e2e/pages/src/util/index_20230511160018.ts +73 -0
- package/.history/e2e/pages/src/util/index_20230511160344.ts +74 -0
- package/.history/e2e/pages/src/util/index_20230511160737.ts +75 -0
- package/.history/e2e/pages/src/util/index_20230511160755.ts +75 -0
- package/.history/e2e/pages/src/util/index_20230511160837.ts +73 -0
- package/.history/e2e/pages/src/util/index_20230511161107.ts +72 -0
- package/.history/e2e/pages/src/util/index_20230511172301.ts +81 -0
- package/.history/e2e/pages/src/util/index_20230512154151.ts +89 -0
- package/.history/e2e/pages/src/util/index_20230512154521.ts +98 -0
- package/.history/e2e/pages/src/util/index_20230512154722.ts +98 -0
- package/.history/e2e/pages/src/util/index_20230512154913.ts +91 -0
- package/.history/e2e/pages/src/util/index_20230512155144.ts +91 -0
- package/.history/e2e/pages/src/util/index_20230512155145.ts +91 -0
- package/.history/e2e/pages/src/util/index_20230512155146.ts +91 -0
- package/.history/e2e/pages/src/util/index_20230512155153.ts +90 -0
- package/.history/e2e/pages/src/util/index_20230512155624.ts +90 -0
- package/.history/e2e/pages/src/util/index_20230512155741.ts +90 -0
- package/.history/e2e/pages/src/util/index_20230512155917.ts +90 -0
- package/.history/e2e/pages/src/util/index_20230524221047.ts +97 -0
- package/.history/e2e/pages/webpack.config_20230510193933.js +30 -0
- package/.history/e2e/pages/webpack.config_20230511144239.js +39 -0
- package/.history/e2e/pages/webpack.config_20230511144341.js +39 -0
- package/.history/e2e/pages/webpack.config_20230511144430.js +39 -0
- package/.history/e2e/pages/webpack.config_20230511144644.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144645.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144753.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144802.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144845.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144926.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144934.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511144943.js +40 -0
- package/.history/e2e/pages/webpack.config_20230511145020.js +39 -0
- package/.history/e2e/pages/webpack.config_20230511145106.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511145716.js +41 -0
- package/.history/e2e/pages/webpack.config_20230511145916.js +36 -0
- package/.history/e2e/pages/webpack.config_20230518173344.js +37 -0
- package/.history/e2e/pages/webpack.config_20230518174552.js +36 -0
- package/.history/e2e/pages/webpack.config_20230523133653.js +35 -0
- package/.history/e2e/public/index_20230524155527.html +43 -0
- package/.history/e2e/public/index_20230524162254.html +43 -0
- package/.history/e2e/public/index_20230524185229.html +37 -0
- package/.history/e2e/public/index_20230524215646.html +13 -0
- package/.history/e2e/public/index_20230524215648.html +12 -0
- package/.history/e2e/src/api/index_20230524161035.ts +26 -0
- package/.history/e2e/src/api/index_20230524215532.ts +26 -0
- package/.history/e2e/src/components/Home/index_20230524161228.tsx +125 -0
- package/.history/e2e/src/components/Home/index_20230524161356.tsx +116 -0
- package/.history/e2e/src/components/Home/index_20230524161420.tsx +115 -0
- package/.history/e2e/src/components/Home/index_20230524161442.tsx +115 -0
- package/.history/e2e/src/components/Home/index_20230525002542.tsx +123 -0
- package/.history/e2e/src/components/Home/index_20230525002658.tsx +125 -0
- package/.history/e2e/src/components/Home/index_20230525002730.tsx +126 -0
- package/.history/e2e/src/index_20230524155527.tsx +19 -0
- package/.history/e2e/src/index_20230524161122.tsx +125 -0
- package/.history/e2e/src/index_20230524161206.tsx +19 -0
- package/.history/e2e/src/index_20230524161343.tsx +17 -0
- package/.history/e2e/src/index_20230524161927.tsx +12 -0
- package/.history/e2e/src/index_20230524161943.tsx +11 -0
- package/.history/e2e/src/index_20230524215444.tsx +16 -0
- package/.history/e2e/src/util/index_20230524222013.ts +96 -0
- package/.history/e2e/src/util/index_20230525000927.ts +96 -0
- package/.history/e2e/src/util/index_20230525000928.ts +96 -0
- package/.history/e2e/src/util/index_20230525001227.ts +97 -0
- package/.history/e2e/src/util/index_20230525001229.ts +97 -0
- package/.history/e2e/src/util/index_20230525001439.ts +97 -0
- package/.history/e2e/src/util/index_20230525001641.ts +101 -0
- package/.history/e2e/src/util/index_20230525001953.ts +100 -0
- package/.history/e2e/src/util/index_20230525002514.ts +100 -0
- package/.history/e2e/src/util/index_20230525002533.ts +100 -0
- package/.history/ops/buildspec_20240620105123.yml +17 -0
- package/.history/package_20240620101011.json +176 -0
- package/.history/package_20240620102132.json +180 -0
- package/.history/package_20240620102136.json +179 -0
- package/.history/package_20240620102151.json +179 -0
- package/.history/package_20240620102153.json +179 -0
- package/.history/package_20240620102228.json +180 -0
- package/.history/package_20240620102534.json +181 -0
- package/.history/package_20240620102955.json +180 -0
- package/.history/package_20240620103103.json +181 -0
- package/.history/package_20240620103105.json +180 -0
- package/.history/package_20240620103120.json +181 -0
- package/.history/package_20240620103532.json +181 -0
- package/.history/package_20240620103741.json +181 -0
- package/.history/package_20240620103803.json +181 -0
- package/.history/package_20240620105356.json +181 -0
- package/.history/package_20240620110005.json +181 -0
- package/.history/package_20240620110042.json +172 -0
- package/.history/package_20240620131821.json +181 -0
- package/.history/package_20240620133118.json +179 -0
- package/.history/package_20240620133317.json +179 -0
- package/.history/package_20240620133341.json +179 -0
- package/.history/package_20240620135524.json +178 -0
- package/.history/public/index_20230523141735.html +15 -0
- package/.history/public/index_20230523141958.html +14 -0
- package/.history/src/components/Button/BaseButton/index_20240620100732.tsx +101 -0
- package/.history/src/components/Button/BaseButton/index_20240704140342.tsx +103 -0
- package/.history/src/components/Button/BaseButton/index_20240704140358.tsx +103 -0
- package/.history/src/components/Button/BaseButton/index_20240704140500.tsx +101 -0
- package/.history/src/components/Button/BaseButton/index_20240704140632.tsx +103 -0
- package/.history/src/components/Button/BaseButton/index_20240704140652.tsx +106 -0
- package/.history/src/components/Button/BaseButton/index_20240704140700.tsx +107 -0
- package/.history/src/components/Button/BaseButton/index_20240704140711.tsx +108 -0
- package/.history/src/components/Button/BaseButton/index_20240704140714.tsx +106 -0
- package/.history/src/components/Button/BaseButton/index_20240704140717.tsx +106 -0
- package/.history/src/components/Button/BaseButton/index_20240704140900.tsx +105 -0
- package/.history/src/components/Button/BaseButton/index_20240704140926.tsx +106 -0
- package/.history/src/components/Button/BaseButton/index_20240704140954.tsx +105 -0
- package/.history/src/components/Button/BaseButton/index_20240704141107.tsx +105 -0
- package/.history/src/components/Button/BaseButton/index_20240704141112.tsx +103 -0
- package/.history/src/components/Button/DoubleButton/index_20240620100732.tsx +53 -0
- package/.history/src/components/Button/DoubleButton/index_20240620133519.tsx +53 -0
- package/.history/src/components/Button/DoubleButton/index_20240620133607.tsx +53 -0
- package/.history/src/components/Control/CheckBox/index_20231208085202.tsx +51 -0
- package/.history/src/components/Control/CheckBox/index_20240102131509.tsx +53 -0
- package/.history/src/components/Control/CheckMark/index_20231208110651.tsx +33 -0
- package/.history/src/components/Control/CheckMark/index_20240104141745.tsx +35 -0
- package/.history/src/components/Input/BaseInput/index.styled_20230518172815.ts +149 -0
- package/.history/src/components/Input/BaseInput/index.styled_20230620134104.ts +150 -0
- package/.history/src/components/Input/BaseInput/index.styled_20230620153553.ts +150 -0
- package/.history/src/components/Input/BaseInput/index.styled_20230620162224.ts +151 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230518172815.ts +71 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181154.ts +72 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181243.ts +71 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181840.ts +70 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181843.ts +70 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230619181844.ts +70 -0
- package/.history/src/components/Input/PostfixInput/index.styled_20230620110646.ts +70 -0
- package/.history/src/components/Input/PostfixInput/index_20231208085501.tsx +173 -0
- package/.history/src/components/Input/PostfixInput/index_20231208085544.tsx +174 -0
- package/.history/src/components/Input/PostfixInput/index_20231208085701.tsx +175 -0
- package/.history/src/components/Input/PostfixInput/index_20231208090034.tsx +175 -0
- package/.history/src/components/Input/PostfixInput/index_20231208110722.tsx +174 -0
- package/.history/src/components/Input/PostfixInput/index_20231208110738.tsx +175 -0
- package/.history/src/components/Input/PostfixInput/index_20231208110752.tsx +176 -0
- package/.history/src/components/Input/index.stories_20230523113113.tsx +209 -0
- package/.history/src/components/Input/index.stories_20230619181021.tsx +210 -0
- package/.history/src/components/Input/index.stories_20230619181656.tsx +210 -0
- package/.history/src/components/Input/index.stories_20230619184317.tsx +210 -0
- package/.history/src/components/Loading/index_20230510193851.ts +4 -0
- package/.history/src/components/Loading/index_20230511140917.ts +5 -0
- package/.history/src/components/Loading/index_20230511151553.ts +4 -0
- package/.history/src/core/TextStyles/index_20230518172815.ts +158 -0
- package/.history/src/core/TextStyles/index_20230522164636.ts +158 -0
- package/.history/src/hooks/useLayoutIsMobile_20230510193851.ts +23 -0
- package/.history/src/hooks/useLayoutIsMobile_20240112115425.ts +23 -0
- package/.history/src/library/BasicLayout/index_20240620100732.tsx +89 -0
- package/.history/src/library/BasicLayout/index_20240620101635.tsx +89 -0
- package/.history/src/library/BasicLayout/index_20240620101752.tsx +89 -0
- package/.history/src/library/Flex/index.stories_20231208085202.tsx +41 -0
- package/.history/src/library/Flex/index.stories_20240620133414.tsx +41 -0
- package/.history/src/storybook/extend-color-type.stories_20240620100732.tsx +613 -0
- package/.history/src/storybook/extend-color-type.stories_20240620133449.tsx +613 -0
- package/.history/src/storybook/extend-color-type.stories_20240620133541.tsx +611 -0
- package/.history/src/storybook/extend-color-type.stories_20240620133550.tsx +609 -0
- package/.history/src/storybook/extend-color-type.stories_20240620133554.tsx +609 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240620100732.ts +109 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153725.ts +110 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153726.ts +110 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153826.ts +105 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153909.ts +110 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153934.ts +111 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240702153935.ts +111 -0
- package/.history/src/utils/GenerateColorStyle/single-button_20240704141120.ts +109 -0
- package/.history/yarn_20230510193944.lock +11943 -0
- package/.history/yarn_20230510194159.lock +11941 -0
- package/.vscode/settings.json +3 -0
- package/dist/components/Button/BaseButton/index.js +4 -2
- package/package.json +1 -1
- package/.build-storybook/1341.036b0413.iframe.bundle.js +0 -1
- package/.build-storybook/172.ea02123e.iframe.bundle.js +0 -1
- package/.build-storybook/1965.108e3614.iframe.bundle.js +0 -121
- package/.build-storybook/1965.108e3614.iframe.bundle.js.map +0 -1
- package/.build-storybook/2109.fd83da5e.iframe.bundle.js +0 -46
- package/.build-storybook/2109.fd83da5e.iframe.bundle.js.map +0 -1
- package/.build-storybook/2333.5709f3ed.iframe.bundle.js +0 -1
- package/.build-storybook/2991.a6871641.iframe.bundle.js +0 -1
- package/.build-storybook/4441.b93be02f.iframe.bundle.js +0 -1
- package/.build-storybook/4446.d823cd23.iframe.bundle.js +0 -1
- package/.build-storybook/4463.3b9d4be9.iframe.bundle.js +0 -44
- package/.build-storybook/4463.3b9d4be9.iframe.bundle.js.map +0 -1
- package/.build-storybook/4582.f3cf3997.iframe.bundle.js +0 -2
- package/.build-storybook/4582.f3cf3997.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/4698.02da77bd.iframe.bundle.js +0 -1
- package/.build-storybook/5661.6b60a6b3.iframe.bundle.js +0 -1
- package/.build-storybook/5898.17981f3a.iframe.bundle.js +0 -1
- package/.build-storybook/7058.5208eb63.iframe.bundle.js +0 -1
- package/.build-storybook/782.4c3df606.iframe.bundle.js +0 -402
- package/.build-storybook/782.4c3df606.iframe.bundle.js.LICENSE.txt +0 -56
- package/.build-storybook/782.4c3df606.iframe.bundle.js.map +0 -1
- package/.build-storybook/7856.80667440.iframe.bundle.js +0 -2
- package/.build-storybook/7856.80667440.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/8923.8ce812a9.iframe.bundle.js +0 -1
- package/.build-storybook/9469.3298ca9c.iframe.bundle.js +0 -1
- package/.build-storybook/Icon-index-stories.323a8702.iframe.bundle.js +0 -2
- package/.build-storybook/Icon-index-stories.323a8702.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/components-Badge-IconBadge-index-stories.ea59237d.iframe.bundle.js +0 -1
- package/.build-storybook/components-Badge-TextBadge-index-stories.09b543af.iframe.bundle.js +0 -1
- package/.build-storybook/components-BottomSheet-NavBottomSheet-index-stories.e989d5db.iframe.bundle.js +0 -1
- package/.build-storybook/components-BottomSheet-TitleBottomSheet-index-stories.45cac11e.iframe.bundle.js +0 -1
- package/.build-storybook/components-Button-DoubleButton-index-stories.843a0709.iframe.bundle.js +0 -1
- package/.build-storybook/components-Button-SingleButton-index-stories.6c3c9169.iframe.bundle.js +0 -1
- package/.build-storybook/components-Card-index-stories.d9989606.iframe.bundle.js +0 -1
- package/.build-storybook/components-Chips-index-stories.70495338.iframe.bundle.js +0 -1
- package/.build-storybook/components-Comment-index-stories.52d9bd9f.iframe.bundle.js +0 -2
- package/.build-storybook/components-Comment-index-stories.52d9bd9f.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/components-Control-CheckBox-index-stories.9c69b383.iframe.bundle.js +0 -1
- package/.build-storybook/components-Control-CheckMark-index-stories.9e0607ae.iframe.bundle.js +0 -1
- package/.build-storybook/components-Control-RadioButton-index-stories.2cdab497.iframe.bundle.js +0 -1
- package/.build-storybook/components-Control-Switch-index-stories.9918db98.iframe.bundle.js +0 -1
- package/.build-storybook/components-DatePicker-RangeDatePicker-index-stories.fc1ae3bb.iframe.bundle.js +0 -1
- package/.build-storybook/components-DatePicker-RangeDatePickerModal-index-stories.29a5990b.iframe.bundle.js +0 -1
- package/.build-storybook/components-DatePicker-SingleDatePicker-index-stories.237e8b4a.iframe.bundle.js +0 -1
- package/.build-storybook/components-DatePicker-SingleDatePickerModal-index-stories.05f2092c.iframe.bundle.js +0 -1
- package/.build-storybook/components-Divider-index-stories.f22689f5.iframe.bundle.js +0 -1
- package/.build-storybook/components-Input-index-stories.e686b65f.iframe.bundle.js +0 -1
- package/.build-storybook/components-Loading-index-stories.5fa13c58.iframe.bundle.js +0 -1
- package/.build-storybook/components-MiniButton-BoxMiniButton-index-stories.b3781690.iframe.bundle.js +0 -1
- package/.build-storybook/components-MiniButton-IconMiniButton-index-stories.6f91f33b.iframe.bundle.js +0 -1
- package/.build-storybook/components-MiniButton-UnderLineMiniButton-index-stories.daf8e4df.iframe.bundle.js +0 -1
- package/.build-storybook/components-Modal-index-stories.31e11593.iframe.bundle.js +0 -1
- package/.build-storybook/components-Navigation-index-stories.adf0819d.iframe.bundle.js +0 -1
- package/.build-storybook/components-Segment-index-stories.d40d4099.iframe.bundle.js +0 -2
- package/.build-storybook/components-Segment-index-stories.d40d4099.iframe.bundle.js.LICENSE.txt +0 -8
- package/.build-storybook/components-Tabs-FillTabs-index-stories.7e21ec77.iframe.bundle.js +0 -1
- package/.build-storybook/components-Tabs-TextTabs-index-stories.103ffbf6.iframe.bundle.js +0 -1
- package/.build-storybook/components-Tag-index-stories.a07da1a1.iframe.bundle.js +0 -1
- package/.build-storybook/components-Title-index-stories.afe0b53e.iframe.bundle.js +0 -1
- package/.build-storybook/components-ToastMessage-Toast-index-stories.ea34d5d9.iframe.bundle.js +0 -1
- package/.build-storybook/components-Tooltip-BasicTooltip-index-stories.e7b43bfc.iframe.bundle.js +0 -1
- package/.build-storybook/components-Tooltip-ImpactTooltip-index-stories.347b401c.iframe.bundle.js +0 -1
- package/.build-storybook/core-Colors-index-stories.03b34bb2.iframe.bundle.js +0 -1
- package/.build-storybook/core-Typography-index-stories.f364e712.iframe.bundle.js +0 -1
- package/.build-storybook/favicon.svg +0 -7
- package/.build-storybook/iframe.html +0 -406
- package/.build-storybook/index.html +0 -130
- package/.build-storybook/index.json +0 -1
- package/.build-storybook/library-BasicForm-index-stories.9bbd932c.iframe.bundle.js +0 -1
- package/.build-storybook/library-BasicLayout-3All-stories.8bc671b6.iframe.bundle.js +0 -1
- package/.build-storybook/library-BasicLayout-NoFooter-stories.7eda6ecd.iframe.bundle.js +0 -1
- package/.build-storybook/library-BasicLayout-NoHeader-stories.25727f30.iframe.bundle.js +0 -1
- package/.build-storybook/library-BasicLayout-OnlyBody-stories.002e7d7a.iframe.bundle.js +0 -1
- package/.build-storybook/library-Flex-index-stories.96c3c13c.iframe.bundle.js +0 -1
- package/.build-storybook/library-Spacing-index-stories.79b820c2.iframe.bundle.js +0 -1
- package/.build-storybook/main.736e2fbc.iframe.bundle.js +0 -1
- package/.build-storybook/project.json +0 -1
- package/.build-storybook/runtime~main.8e84fcf6.iframe.bundle.js +0 -1
- package/.build-storybook/sb-addons/essentials-actions-2/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-actions-2/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-backgrounds-3/manager-bundle.mjs +0 -13
- package/.build-storybook/sb-addons/essentials-backgrounds-3/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-backgrounds-3/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-controls-1/manager-bundle.mjs +0 -117
- package/.build-storybook/sb-addons/essentials-controls-1/manager-bundle.mjs.LEGAL.txt +0 -18
- package/.build-storybook/sb-addons/essentials-controls-1/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-measure-6/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-measure-6/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-measure-6/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-outline-7/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-outline-7/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-outline-7/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-toolbars-5/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-toolbars-5/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-toolbars-5/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/essentials-viewport-4/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/essentials-viewport-4/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/essentials-viewport-4/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/interactions-8/manager-bundle.mjs +0 -31
- package/.build-storybook/sb-addons/interactions-8/manager-bundle.mjs.LEGAL.txt +0 -18
- package/.build-storybook/sb-addons/interactions-8/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-addons/links-0/manager-bundle.mjs +0 -4
- package/.build-storybook/sb-addons/links-0/manager-bundle.mjs.LEGAL.txt +0 -0
- package/.build-storybook/sb-addons/links-0/manager-bundle.mjs.map +0 -7
- package/.build-storybook/sb-common-assets/fonts.css +0 -31
- package/.build-storybook/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/.build-storybook/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/.build-storybook/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/.build-storybook/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/.build-storybook/sb-manager/GlobalScrollAreaStyles-XIHNDKUY-IPHQ3X5E.mjs +0 -1
- package/.build-storybook/sb-manager/OverlayScrollbars-VAV6LJAB-ZCK6WCDR.mjs +0 -6
- package/.build-storybook/sb-manager/WithTooltip-FBT32F6Q-4UGX56G2.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-2HSPAR27.mjs +0 -207
- package/.build-storybook/sb-manager/chunk-2ZRMZUFB.mjs +0 -140
- package/.build-storybook/sb-manager/chunk-7NJ6NIF4.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-CGFORC26.mjs +0 -7
- package/.build-storybook/sb-manager/chunk-CGGDZUA2.mjs +0 -15
- package/.build-storybook/sb-manager/chunk-GPWZILNL.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-JCTATS4D.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-KQFPYAFV.mjs +0 -1
- package/.build-storybook/sb-manager/chunk-TZHETJRI.mjs +0 -406
- package/.build-storybook/sb-manager/chunk-WCYDYUGX.mjs +0 -1
- package/.build-storybook/sb-manager/formatter-S4K5WUZV-X2U232II.mjs +0 -156
- package/.build-storybook/sb-manager/globals.mjs +0 -1
- package/.build-storybook/sb-manager/index.mjs +0 -1
- package/.build-storybook/sb-manager/runtime.mjs +0 -1
- package/.build-storybook/sb-manager/syntaxhighlighter-QTQ2UBB4-FBPGUO4L.mjs +0 -1
- package/.build-storybook/sb-preview/chunk-M7Z73WKF.mjs +0 -1
- package/.build-storybook/sb-preview/globals.mjs +0 -1
- package/.build-storybook/sb-preview/runtime.mjs +0 -105
- package/.build-storybook/stories.json +0 -1
- package/.build-storybook/storybook-extend-color-type-stories.90a332f4.iframe.bundle.js +0 -1
- package/dist/components/NavigationBar/BottomNavigationBar/index.d.ts +0 -14
- package/dist/components/NavigationBar/BottomNavigationBar/index.js +0 -44
- package/dist/components/NavigationBar/BottomNavigationBar/index.stories.d.ts +0 -6
- package/dist/components/NavigationBar/BottomNavigationBar/index.stories.js +0 -43
- package/dist/components/NavigationBar/BottomNavigationBar/index.styled.d.ts +0 -17
- package/dist/components/NavigationBar/BottomNavigationBar/index.styled.js +0 -29
- package/dist/components/NavigationBar/PageNavigationBar/constant.d.ts +0 -7
- package/dist/components/NavigationBar/PageNavigationBar/constant.js +0 -18
- package/dist/components/NavigationBar/PageNavigationBar/index.d.ts +0 -34
- package/dist/components/NavigationBar/PageNavigationBar/index.js +0 -88
- package/dist/components/NavigationBar/PageNavigationBar/index.spec.d.ts +0 -1
- package/dist/components/NavigationBar/PageNavigationBar/index.spec.js +0 -20
- package/dist/components/NavigationBar/PageNavigationBar/index.stories.d.ts +0 -18
- package/dist/components/NavigationBar/PageNavigationBar/index.stories.js +0 -146
- package/dist/components/NavigationBar/PageNavigationBar/index.styled.d.ts +0 -41
- package/dist/components/NavigationBar/PageNavigationBar/index.styled.js +0 -48
- package/dist/components/NavigationBar/TitleNavigationBar/index.d.ts +0 -14
- package/dist/components/NavigationBar/TitleNavigationBar/index.js +0 -59
- package/dist/components/NavigationBar/TitleNavigationBar/index.stories.d.ts +0 -7
- package/dist/components/NavigationBar/TitleNavigationBar/index.stories.js +0 -54
- package/dist/components/NavigationBar/TitleNavigationBar/index.styled.d.ts +0 -23
- package/dist/components/NavigationBar/TitleNavigationBar/index.styled.js +0 -25
- package/dist/components/NavigationBar/index.d.ts +0 -3
- package/dist/components/NavigationBar/index.js +0 -19
- package/dist/components/Tab/index.d.ts +0 -11
- package/dist/components/Tab/index.js +0 -38
- package/dist/components/Tab/index.spec.d.ts +0 -1
- package/dist/components/Tab/index.spec.js +0 -21
- package/dist/components/Tab/index.stories.d.ts +0 -16
- package/dist/components/Tab/index.stories.js +0 -107
- package/dist/components/Tab/index.styled.d.ts +0 -18
- package/dist/components/Tab/index.styled.js +0 -71
- package/dist/components/Tag/BaseTag/index.d.ts +0 -14
- package/dist/components/Tag/BaseTag/index.js +0 -37
- package/dist/components/Tag/BaseTag/index.styled.d.ts +0 -10
- package/dist/components/Tag/BaseTag/index.styled.js +0 -17
- package/dist/components/Tag/BlueTag.d.ts +0 -4
- package/dist/components/Tag/BlueTag.js +0 -10
- package/dist/components/Tag/GrayTag.d.ts +0 -4
- package/dist/components/Tag/GrayTag.js +0 -10
- package/dist/components/Tag/GreenTag.d.ts +0 -4
- package/dist/components/Tag/GreenTag.js +0 -10
- package/dist/components/Tag/LimeTag.d.ts +0 -4
- package/dist/components/Tag/LimeTag.js +0 -10
- package/dist/components/Tag/PinkTag.d.ts +0 -4
- package/dist/components/Tag/PinkTag.js +0 -10
- package/dist/components/Tag/PurpleTag.d.ts +0 -4
- package/dist/components/Tag/PurpleTag.js +0 -10
- package/dist/components/Tag/RedTag.d.ts +0 -4
- package/dist/components/Tag/RedTag.js +0 -10
- package/dist/components/Tag/YellowTag.d.ts +0 -4
- package/dist/components/Tag/YellowTag.js +0 -10
- package/dist/components/Tag/index.spec.d.ts +0 -1
- package/dist/components/Tag/index.spec.js +0 -14
- package/dist/library/ShareUI/Buttons.d.ts +0 -7
- package/dist/library/ShareUI/Buttons.js +0 -20
- package/dist/library/ShareUI/index.d.ts +0 -14
- package/dist/library/ShareUI/index.js +0 -59
- package/dist/library/ShareUI/index.stories.d.ts +0 -6
- package/dist/library/ShareUI/index.stories.js +0 -32
- package/dist/library/ShareUI/index.styled.d.ts +0 -60
- package/dist/library/ShareUI/index.styled.js +0 -60
- /package/{.build-storybook/image.png → .history/config-overrides_20230523140418.js} +0 -0
- /package/{.build-storybook/sb-addons/essentials-actions-2/manager-bundle.mjs.LEGAL.txt → .history/e2e/pages/src/components/Loading_20230511175658.tsx} +0 -0
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,164 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,164 @@
|
|
|
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
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
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
|
+
|
|
@@ -0,0 +1,164 @@
|
|
|
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
|
+
};
|