File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99 "no-plusplus": 0,
1010 "max-len": ["error", { "code": 120 }],
1111 "@typescript-eslint/no-unused-vars": "warn",
12- "import/no-extraneous-dependencies": "off"
12+ "import/no-extraneous-dependencies": "off",
13+ "@typescript-eslint/no-use-before-define": "off",
14+ "react/require-default-props": "off",
15+ "react/no-unused-prop-types": "off"
1316 }
1417}
Original file line number Diff line number Diff line change 5858 "typescript" : " 5.1"
5959 },
6060 "simple-git-hooks" : {
61- "pre-commit" : " npm run lint && npm run test && npm run build"
61+ "pre-commit" : " npm run lint && npm run build"
6262 }
6363}
Original file line number Diff line number Diff line change @@ -18,9 +18,13 @@ function build() {
1818};
1919
2020function prepare() {
21+ if [[ $CI == true ]]; then
22+ echo " 👋 CI detected, skipping git hooks installation..." ;
23+ build;
24+ else
2125 echo " 👋 Installing git hooks..." ;
22- npx simple-git-hooks >> /dev/null;
23- build ;
26+ npx simple-git-hooks >> /dev/null;
27+ fi
2428};
2529
2630function lint() {
@@ -33,11 +37,6 @@ function clean() {
3337 rm -rf dist;
3438};
3539
36- function postinstall() {
37- echo " 👋 Running patches..." ;
38- npx patch-package;
39- };
40-
4140function hello() {
4241 echo " 👋 Hello!" $args ;
4342};
Original file line number Diff line number Diff line change @@ -42,11 +42,6 @@ export type FlexProps = React.PropsWithChildren<{
4242 style ?: ViewProps [ 'style' ] ;
4343} > ;
4444
45- /**
46- *
47- * @param props {FlexProps}
48- * @returns
49- */
5045export function Flex ( props : FlexProps ) {
5146 const { children } = props ;
5247 const s = useMemo ( ( ) => getStyles ( props ) , [ props ] ) ;
You can’t perform that action at this time.
0 commit comments