Skip to content

Commit 3842f90

Browse files
authored
Merge branch 'msoedov:main' into feat/extension-with-sample-tests
2 parents 121d564 + 68cba92 commit 3842f90

22 files changed

+15311
-0
lines changed

ui/.env.example

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
VUE_APP_SERVER_URL=''#replace this with url at which agentic_security server is running

ui/.eslintrc.js

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
node :true
6+
},
7+
extends: [
8+
'eslint:recommended',
9+
'plugin:vue/essential',
10+
],
11+
parserOptions: {
12+
ecmaVersion: 12,
13+
sourceType: 'module',
14+
},
15+
plugins: [
16+
'vue',
17+
],
18+
rules: {
19+
'no-unused-vars': 'off', // Disable the rule
20+
'no-constant-condition': 'off',
21+
'no-global-assign': 'off',
22+
// or
23+
// 'no-unused-vars': 'warn', // Change the rule to a warning
24+
},
25+
};

ui/.gitignore

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
.DS_Store
2+
node_modules
3+
/dist
4+
5+
6+
# local env files
7+
.env.local
8+
.env.*.local
9+
10+
# Log files
11+
npm-debug.log*
12+
yarn-debug.log*
13+
yarn-error.log*
14+
pnpm-debug.log*
15+
16+
# Editor directories and files
17+
.idea
18+
.vscode
19+
*.suo
20+
*.ntvs*
21+
*.njsproj
22+
*.sln
23+
*.sw?

ui/babel.config.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
presets: [
3+
'@vue/cli-plugin-babel/preset'
4+
]
5+
}

ui/jsconfig.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"compilerOptions": {
3+
"target": "es5",
4+
"module": "esnext",
5+
"baseUrl": "./",
6+
"moduleResolution": "node",
7+
"paths": {
8+
"@/*": [
9+
"src/*"
10+
]
11+
},
12+
"lib": [
13+
"esnext",
14+
"dom",
15+
"dom.iterable",
16+
"scripthost"
17+
]
18+
}
19+
}

0 commit comments

Comments
 (0)