react plugin
This commit is contained in:
parent
c241a5a358
commit
3fc28be440
7 changed files with 3394 additions and 254 deletions
5
extensions/vscode/package-lock.json
generated
5
extensions/vscode/package-lock.json
generated
|
|
@ -1,12 +1,12 @@
|
|||
{
|
||||
"name": "continue",
|
||||
"version": "0.9.235",
|
||||
"version": "0.9.236",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "continue",
|
||||
"version": "0.9.235",
|
||||
"version": "0.9.236",
|
||||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@electron/rebuild": "^3.2.10",
|
||||
|
|
@ -109,6 +109,7 @@
|
|||
"cheerio": "^1.0.0-rc.12",
|
||||
"commander": "^12.0.0",
|
||||
"comment-json": "^4.2.3",
|
||||
"dbinfoz": "^0.14.0",
|
||||
"diff": "^7.0.0",
|
||||
"dotenv": "^16.4.5",
|
||||
"fastest-levenshtein": "^1.0.16",
|
||||
|
|
|
|||
32
gui/.eslintrc.json
Normal file
32
gui/.eslintrc.json
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{
|
||||
"root": true,
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"plugins": [
|
||||
"@typescript-eslint",
|
||||
"strict-null-checks",
|
||||
"eslint-plugin-react"
|
||||
],
|
||||
"parserOptions": {
|
||||
"project": "gui/tsconfig.strictNullChecks.json"
|
||||
},
|
||||
// "extends": [
|
||||
// "eslint:recommended",
|
||||
// "plugin:@typescript-eslint/recommended",
|
||||
// "plugin:@typescript-eslint/recommended-requiring-type-checking"
|
||||
// "plugin:react/recommended"
|
||||
// ],
|
||||
"rules": {
|
||||
"strict-null-checks/all": "warn"
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
"files": ["src/**/*.{js,ts,jsx,tsx}"]
|
||||
}
|
||||
],
|
||||
"ignorePatterns": ["dist/**/*"],
|
||||
"env": {
|
||||
"browser": true,
|
||||
"node": true,
|
||||
"es6": true
|
||||
}
|
||||
}
|
||||
2933
gui/package-lock.json
generated
2933
gui/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -36,6 +36,7 @@
|
|||
"core": "file:../core",
|
||||
"dompurify": "^3.0.6",
|
||||
"downshift": "^7.6.0",
|
||||
"eslint-plugin-react": "^7.37.2",
|
||||
"lodash": "^4.17.21",
|
||||
"minisearch": "^7.0.2",
|
||||
"onigasm": "^2.2.5",
|
||||
|
|
@ -65,6 +66,7 @@
|
|||
"styled-components": "^5.3.6",
|
||||
"table": "^6.8.1",
|
||||
"tippy.js": "^6.3.7",
|
||||
"typescript-eslint": "^8.16.0",
|
||||
"unist-util-visit": "^5.0.0",
|
||||
"uuid": "^9.0.1",
|
||||
"vscode-webview": "^1.0.1-beta.1"
|
||||
|
|
@ -88,6 +90,8 @@
|
|||
"@vitest/coverage-v8": "^2.1.3",
|
||||
"@vitest/ui": "^2.1.3",
|
||||
"autoprefixer": "^10.4.13",
|
||||
"eslint": "^8.57.1",
|
||||
"eslint-plugin-strict-null-checks": "^0.1.3",
|
||||
"jsdom": "^25.0.1",
|
||||
"postcss": "^8.4.21",
|
||||
"tailwindcss": "^3.2.7",
|
||||
|
|
|
|||
31
gui/tsconfig.strictNullChecks.json
Normal file
31
gui/tsconfig.strictNullChecks.json
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"strictNullChecks": true,
|
||||
|
||||
|
||||
"target": "ESNext",
|
||||
"useDefineForClassFields": true,
|
||||
"lib": ["DOM", "DOM.Iterable", "ESNext"],
|
||||
"allowJs": false,
|
||||
"skipLibCheck": true,
|
||||
"esModuleInterop": false,
|
||||
"allowSyntheticDefaultImports": true,
|
||||
"strict": false,
|
||||
"forceConsistentCasingInFileNames": true,
|
||||
"module": "ESNext",
|
||||
"moduleResolution": "Node",
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx",
|
||||
"noEmitOnError": false,
|
||||
"types": ["vitest/globals"]
|
||||
},
|
||||
"include": ["src/**/*.ts", "src/**/*.tsx", "src/**/*.js", "src/**/*.jsx"],
|
||||
"exclude": ["dist", "node_modules"],
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
640
package-lock.json
generated
640
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
|
@ -4,5 +4,8 @@
|
|||
"eslint-plugin-import": "^2.29.1",
|
||||
"prettier": "^3.3.3",
|
||||
"prettier-plugin-tailwindcss": "^0.6.8"
|
||||
},
|
||||
"dependencies": {
|
||||
"eslint-plugin-react": "^7.37.2"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue