Skip to content

Commit c820c7a

Browse files
authored
Merge pull request #7 from side-projects-overkill/development
Development
2 parents d127b5d + 34ed3a1 commit c820c7a

33 files changed

+7756
-2486
lines changed

.eslintrc.json

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"extends": [
3+
"eslint:recommended",
4+
"plugin:vue/recommended",
5+
"airbnb-base",
6+
"plugin:prettier/recommended"
7+
],
8+
"parserOptions": {
9+
"ecmaVersion": 15,
10+
"sourceType": "module"
11+
},
12+
"rules": {
13+
"import/extensions": [
14+
"error",
15+
"ignorePackages",
16+
{
17+
"js": "always",
18+
"jsx": "never",
19+
"json": "always"
20+
}
21+
],
22+
"import/no-unresolved": "off"
23+
},
24+
"ignorePatterns": ["dist/"]
25+
}
File renamed without changes.

.husky/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
_

.husky/pre-commit

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/bin/sh
2+
. "$(dirname "$0")/_/husky.sh"
3+
4+
npx lint-staged

.prettierrc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"semi": false,
3+
"singleQuote": true,
4+
"tabWidth": 2,
5+
"vueIndentScriptAndStyle": true
6+
}
File renamed without changes.

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,11 @@
1-
# vue-security-page
1+
# vue-security-page This template should help get you started developing with
2+
3+
Vue 3 in Vite. ## Recommended IDE Setup [VSCode](https://code.visualstudio.com/)
4+
5+
- [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and
6+
disable Vetur). ## Customize configuration See [Vite Configuration
7+
Reference](https://vitejs.dev/config/). ## Project Setup `sh npm install `
8+
9+
### Compile and Hot-Reload for Development `sh npm run dev ` ### Compile and
10+
11+
Minify for Production `sh npm run build `

eslint.config.mjs

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
import path from 'node:path'
2+
import { fileURLToPath } from 'node:url'
3+
import js from '@eslint/js'
4+
import { FlatCompat } from '@eslint/eslintrc'
5+
6+
const filename = fileURLToPath(import.meta.url)
7+
const dirname = path.dirname(filename)
8+
const compat = new FlatCompat({
9+
baseDirectory: dirname,
10+
recommendedConfig: js.configs.recommended,
11+
allConfig: js.configs.all,
12+
})
13+
14+
export default [
15+
{
16+
ignores: ['**/dist/*'],
17+
},
18+
...compat.extends(
19+
'eslint:recommended',
20+
'plugin:vue/recommended',
21+
'airbnb-base',
22+
'plugin:prettier/recommended',
23+
),
24+
{
25+
languageOptions: {
26+
ecmaVersion: 15,
27+
sourceType: 'module',
28+
},
29+
30+
rules: {
31+
'import/extensions': [
32+
'error',
33+
'ignorePackages',
34+
{
35+
js: 'always',
36+
jsx: 'never',
37+
json: 'always',
38+
},
39+
],
40+
41+
'import/no-unresolved': 'off',
42+
},
43+
},
44+
]

index.html

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
6+
<title>Red Hat Customer Portal</title>
7+
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
8+
<script type="importmap">
9+
{
10+
"imports": {
11+
"@rhds/elements/": "https://www.redhatstatic.com/dx/v1-alpha/@rhds/[email protected]/elements/",
12+
"@patternfly/elements/": "https://www.redhatstatic.com/dx/v1-alpha/@patternfly/[email protected]/"
13+
}
14+
}
15+
</script>
16+
</head>
17+
<body>
18+
<div id="app"></div>
19+
<script type="module" src="/src/main.js"></script>
20+
</body>
21+
</html>

0 commit comments

Comments
 (0)