Skip to content

Commit

Permalink
gha: pre-commit add more hooks (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
jbampton authored Jul 13, 2024
1 parent aff523d commit 1a87f7e
Show file tree
Hide file tree
Showing 29 changed files with 30 additions and 36 deletions.
15 changes: 7 additions & 8 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,18 +16,17 @@ repos:
#- id: check-added-large-files
#- id: check-case-conflict
#- id: check-executables-have-shebangs
#- id: check-merge-conflict
- id: check-merge-conflict
#- id: check-shebang-scripts-are-executable
#- id: check-vcs-permalinks
#- id: check-yaml
#- id: destroyed-symlinks
#- id: detect-aws-credentials
# args: [--allow-missing-credentials]
#- id: detect-private-key
#- id: end-of-file-fixer
# exclude: \.out$
#- id: fix-byte-order-marker
#- id: forbid-submodules
- id: detect-aws-credentials
args: [--allow-missing-credentials]
- id: detect-private-key
- id: end-of-file-fixer
- id: fix-byte-order-marker
- id: forbid-submodules
#- id: mixed-line-ending
- id: trailing-whitespace
args: [--markdown-linebreak-ext=md]
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@
"@/*": ["./src/*"]
}
}
}
}
2 changes: 1 addition & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ export default {

return config;
},
};
};
2 changes: 1 addition & 1 deletion src/app/Education/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ const Education = () => {
);
};

export default Education;
export default Education;
2 changes: 1 addition & 1 deletion src/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
}
* {
font-family: "EstedadThin";
}
}
1 change: 0 additions & 1 deletion src/components/atoms/Avatar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,3 @@ const Avatar = ({ src, alt, width, height }) => {
};

export default Avatar;

2 changes: 1 addition & 1 deletion src/components/atoms/Button.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ const Button = ({ text, variant, icon, padding, borderRadius, type, href, classN
}
};

export default Button;
export default Button;
2 changes: 1 addition & 1 deletion src/components/atoms/ButtonCodeBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ function ButtonCodeBox({ icon }) {
)
}

export default ButtonCodeBox
export default ButtonCodeBox
2 changes: 1 addition & 1 deletion src/components/atoms/CircelsBoxCode.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ function CircelsBoxCode() {
)
}

export default CircelsBoxCode
export default CircelsBoxCode
2 changes: 1 addition & 1 deletion src/components/atoms/ImageBoxAdvantage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ function ImageBoxAdvantage({ variant }) {
)
}

export default ImageBoxAdvantage
export default ImageBoxAdvantage
2 changes: 1 addition & 1 deletion src/components/atoms/ImageClick.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ function ImageClick() {
)
}

export default ImageClick
export default ImageClick
2 changes: 1 addition & 1 deletion src/components/atoms/Logo.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ function Logo() {
)
}

export default Logo
export default Logo
2 changes: 1 addition & 1 deletion src/components/atoms/LogoWhite.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ function LogoWhite() {
)
}

export default LogoWhite
export default LogoWhite
2 changes: 1 addition & 1 deletion src/components/atoms/TextFooter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ function TextFooter() {
)
}

export default TextFooter
export default TextFooter
2 changes: 1 addition & 1 deletion src/components/atoms/TextMenu.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ function TextMenu({ text }) {
)
}

export default TextMenu
export default TextMenu
1 change: 0 additions & 1 deletion src/components/atoms/TitleDescription.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ const TitleDescription = ({ title, description }) => {
};

export default TitleDescription;

1 change: 0 additions & 1 deletion src/components/atoms/TitleDescriptionBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,3 @@ const TitleDescriptionBox = ({ title, description }) => {
};

export default TitleDescriptionBox;

2 changes: 1 addition & 1 deletion src/components/molecules/BoxStartLanguge.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ function BoxStartLanguge() {
)
}

export default BoxStartLanguge
export default BoxStartLanguge
2 changes: 1 addition & 1 deletion src/components/molecules/CarecterGoToLearn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ function CarecterGoToLearn() {
)
}

export default CarecterGoToLearn
export default CarecterGoToLearn
2 changes: 1 addition & 1 deletion src/components/molecules/CarectersDownload.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ function CarectersDownload() {
)
}

export default CarectersDownload
export default CarectersDownload
2 changes: 1 addition & 1 deletion src/components/molecules/CarectersHeroMain.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ function CarectersHeroMain() {
)
}

export default CarectersHeroMain
export default CarectersHeroMain
2 changes: 1 addition & 1 deletion src/components/molecules/CarectersNotFound.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ function CarectersNotFound() {
)
}

export default CarectersNotFound
export default CarectersNotFound
1 change: 0 additions & 1 deletion src/components/molecules/CommentCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ const CommentCard = ({ comment }) => {
};

export default CommentCard;

2 changes: 1 addition & 1 deletion src/components/molecules/MenuList.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ function MenuList() {
)
}

export default MenuList
export default MenuList
2 changes: 1 addition & 1 deletion src/components/molecules/MenuListFooter.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ function MenuListFooter() {
)
}

export default MenuListFooter
export default MenuListFooter
1 change: 0 additions & 1 deletion src/components/organisms/CommentSlide.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,3 @@ const CommentSlide = ({ comments }) => {
};

export default CommentSlide;

2 changes: 1 addition & 1 deletion src/components/templates/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ function Footer() {
)
}

export default Footer
export default Footer
2 changes: 1 addition & 1 deletion src/components/templates/Learn.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ function Learn() {
)
}

export default Learn
export default Learn
2 changes: 1 addition & 1 deletion src/components/templates/NumberBox.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ function NumberBox() {
)
}

export default NumberBox
export default NumberBox

0 comments on commit 1a87f7e

Please sign in to comment.