Skip to content

Commit

Permalink
style: fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
GauBen committed Oct 18, 2024
1 parent 522af88 commit 56fbaa1
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ export default tseslint.config(
},
},
{
ignores: ['build/', '.svelte-kit/', 'dist/'],
ignores: ['**/build/', '**/.svelte-kit/', '**/dist/'],
},
);
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"dev": "yarn workspaces foreach --all -piv run dev",
"format": "yarn prettier -wu '**/*' --ignore-path .lintignore",
"lint": "yarn lint:eslint && yarn lint:prettier && yarn lint:stylelint",
"lint:eslint": "eslint --ignore-path .lintignore $INIT_CWD",
"lint:eslint": "eslint --ignore-pattern .lintignore $INIT_CWD",
"lint:prettier": "prettier --check --ignore-unknown --ignore-path .lintignore $INIT_CWD",
"lint:stylelint": "stylelint --ignore-path .lintignore $INIT_CWD",
"postinstall": "husky install"
Expand Down
11 changes: 2 additions & 9 deletions packages/app/src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,13 @@

<svelte:head>
<title>{$page.data.title}</title>
<meta
name="title"
property="og:title"
content={$page.data.title}
/>
<meta name="title" property="og:title" content={$page.data.title} />
<meta
name="image"
property="og:image"
content="https://escape.tech/academy/Escape_academy_logo.jpg"
/>
<meta
property="og:image:alt"
content="API Security Academy"
/>
<meta property="og:image:alt" content="API Security Academy" />
<meta
name="description"
property="og:description"
Expand Down
8 changes: 4 additions & 4 deletions packages/app/src/routes/LessonList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@
class="difficulty {difficulty === 'Easy'
? 'easy'
: difficulty === 'Medium'
? 'medium'
: 'hard'}"
? 'medium'
: 'hard'}"
>
{difficulty === 'Easy'
? 'Easy'
: difficulty === 'Medium'
? 'Medium'
: 'Hard'}
? 'Medium'
: 'Hard'}
</span>
{#if owasp}
<div class="badge">
Expand Down

0 comments on commit 56fbaa1

Please sign in to comment.