Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(linter): add mega linter #4

Open
wants to merge 64 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
d6fb6e6
feat(linter): add mega linter
Atineon Jan 7, 2025
b092752
feat(linter): add mega linter
Atineon Jan 8, 2025
52b6193
feat(linter): add mega linter
Atineon Jan 8, 2025
0df04f9
feat(linter): add mega linter
Atineon Jan 8, 2025
0d6b299
feat(linter): add mega linter
Atineon Jan 8, 2025
b90862c
feat(linter): add mega linter
Atineon Jan 8, 2025
1c2beb1
feat(linter): add mega linter
Atineon Jan 8, 2025
dfbdc9e
feat(linter): add mega linter
Atineon Jan 8, 2025
11bd12f
feat(linter): add mega linter
Atineon Jan 8, 2025
d89b61a
feat(linter): add mega linter
Atineon Jan 8, 2025
3e89121
feat(linter): add mega linter
Atineon Jan 8, 2025
7bc5620
feat(linter): add mega linter
Atineon Jan 8, 2025
df5fca6
feat(linter): add mega linter
Atineon Jan 8, 2025
60a4af8
feat(linter): add mega linter
Atineon Jan 8, 2025
0e58df7
feat(linter): add mega linter
Atineon Jan 8, 2025
32d2f68
fix(linter): update next version
Atineon Jan 8, 2025
15a7c8a
fix(linter): change permissions
Atineon Jan 8, 2025
611ef63
fix(linter): change permissions
Atineon Jan 8, 2025
630c7b4
fix(linter): change permissions
Atineon Jan 8, 2025
7dba259
fix(linter): change permissions
Atineon Jan 8, 2025
5ac3f10
fix(linter): change permissions
Atineon Jan 8, 2025
b6b00a6
fix(linter): change permissions
Atineon Jan 8, 2025
a08fb97
fix(linter): yaml linter
Atineon Jan 8, 2025
b5ffbf4
fix(linter): yaml linter
Atineon Jan 8, 2025
6f63a6e
fix(linter): repository linter
Atineon Jan 8, 2025
2e20ff4
fix(linter): repository linter
Atineon Jan 8, 2025
c87ee75
fix(linter): repository linter
Atineon Jan 8, 2025
41d3fd4
fix(linter): repository linter
Atineon Jan 8, 2025
5001e16
fix(linter): repository linter
Atineon Jan 8, 2025
b610648
fix(linter): repository linter
Atineon Jan 10, 2025
f926260
feat(linter): add mega linter
Atineon Jan 11, 2025
5b505f1
feat(linter): add mega linter
Atineon Jan 11, 2025
fd80068
feat(linter): add mega linter
Atineon Jan 11, 2025
4e6c99f
feat(linter): add mega linter
Atineon Jan 11, 2025
302459b
feat(linter): add mega linter
Atineon Jan 11, 2025
92bd78c
feat(linter): add mega linter
Atineon Jan 11, 2025
7143113
feat(linter): add mega linter
Atineon Jan 11, 2025
27a0f23
feat(linter): add mega linter
Atineon Jan 11, 2025
fc33f12
feat(linter): add mega linter
Atineon Jan 11, 2025
901a571
feat(linter): add mega linter
Atineon Jan 11, 2025
7593c2f
feat(linter): add mega linter
Atineon Jan 11, 2025
2b1e6c4
feat(linter): add mega linter
Atineon Jan 11, 2025
ba73ab7
feat(linter): add mega linter
Atineon Jan 11, 2025
cca5ec6
feat(linter): add mega linter
Atineon Jan 11, 2025
c3c24a6
feat(linter): add mega linter
Atineon Jan 11, 2025
3d80e73
feat(linter): add mega linter
Atineon Jan 11, 2025
81b07d5
feat(linter): add mega linter
Atineon Jan 11, 2025
2f63815
feat(linter): add mega linter
Atineon Jan 11, 2025
3bb0ffb
feat(linter): add mega linter
Atineon Jan 11, 2025
694ffe8
feat(linter): add mega linter
Atineon Jan 11, 2025
4203d11
feat(linter): add mega linter
Atineon Jan 11, 2025
294eaac
feat(linter): add mega linter
Atineon Jan 11, 2025
10409ae
feat(linter): add mega linter
Atineon Jan 11, 2025
cccabd2
feat(linter): add mega linter
Atineon Jan 11, 2025
a59fe86
feat(linter): add mega linter
Atineon Jan 11, 2025
7053051
feat(linter): add mega linter
Atineon Jan 11, 2025
2f7b4e7
feat(linter): add mega linter
Atineon Jan 11, 2025
1cf669a
feat(linter): add mega linter
Atineon Jan 11, 2025
e390b0a
feat(linter): add mega linter
Atineon Jan 12, 2025
f374b6c
feat(linter): add mega linter
Atineon Jan 12, 2025
73a63bc
feat(linter): add mega linter
Atineon Jan 12, 2025
18641f8
feat(linter): add mega linter
Atineon Jan 12, 2025
cb5f491
feat(linter): add mega linter
Atineon Jan 12, 2025
6ca6870
feat(linter): add mega linter
Atineon Jan 13, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .checkov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
skip-check: CKV2_GHA_1
48 changes: 48 additions & 0 deletions .github/workflows/mega-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: MegaLinter

on:
push:

jobs:
megalinter:
name: MegaLinter
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run Mega-Linter
id: megalinter
uses: oxsecurity/megalinter@v8
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
APPLY_FIXES: all
APPLY_FIXES_EVENT: commit
APPLY_FIXES_MODE: commit

- name: Archive production artifacts
if: success() || failure()
uses: actions/upload-artifact@v4
with:
name: MegaLinter reports
path: |
megalinter-reports
mega-linter.log

- name: Prepare commit
if: steps.megalinter.outputs.has_updated_sources == 1
run: sudo chown -Rc $UID .git/
- name: Commit and push applied linter fixes
if: steps.megalinter.outputs.has_updated_sources == 1
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.head_ref || github.ref }}
commit_message: "[MegaLinter] Apply linters fixes"
commit_user_name: megalinter-bot
commit_user_email: nicolas.vuillamy@ox.security
env:
GITHUB_TOKEN: ${{ secrets.PAT }}
14 changes: 14 additions & 0 deletions .mega-linter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
ENABLE:
- CSS
- JAVASCRIPT
- JSON
- JSX
- MARKDOWN
- REPOSITORY
- TYPESCRIPT
- TSX
- YAML

DISABLE_ERRORS_LINTERS:
- CSS_STYLELINT
- REPOSITORY_KICS
37 changes: 1 addition & 36 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1 @@
This is a [Next.js](https://nextjs.org) project bootstrapped with [`create-next-app`](https://nextjs.org/docs/app/api-reference/cli/create-next-app).

## Getting Started

First, run the development server:

```bash
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
```

Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.

You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Learn More

To learn more about Next.js, take a look at the following resources:

- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.

You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js) - your feedback and contributions are welcome!

## Deploy on Vercel

The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.

Check out our [Next.js deployment documentation](https://nextjs.org/docs/app/building-your-application/deploying) for more details.
# CV
80 changes: 40 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@
},
"dependencies": {
"cookies-next": "^5.0.2",
"next": "^15.1.2",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-icons": "^5.4.0",
"next": "15.1.1"
"react-icons": "^5.4.0"
},
"devDependencies": {
"typescript": "^5",
"@eslint/eslintrc": "^3",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",
"daisyui": "^4.12.22",
"postcss": "^8",
"tailwindcss": "^3.4.1",
"eslint": "^9",
"eslint-config-next": "15.1.1",
"@eslint/eslintrc": "^3"
"postcss": "^8",
"tailwindcss": "^3.4.1",
"typescript": "^5"
}
}
}
Loading