deploy: current vibn theia state
Some checks failed
Playwright Tests / Playwright Tests (ubuntu-22.04, Node.js 22.x) (push) Has been cancelled
3PP License Check / 3PP License Check (11, 22.x, ubuntu-22.04) (push) Has been cancelled
Publish packages to NPM / Perform Publishing (push) Has been cancelled

Made-with: Cursor
This commit is contained in:
2026-02-27 12:01:08 -08:00
commit 8bb5110148
3782 changed files with 640947 additions and 0 deletions

View File

@@ -0,0 +1,29 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx": true
}
},
"plugins": [
"@theia",
"@typescript-eslint",
"@typescript-eslint/tslint",
"import",
"no-null",
"eslint-plugin-deprecation",
"eslint-plugin-react",
"eslint-plugin-no-unsanitized"
],
"env": {
"browser": true,
"mocha": true,
"node": true
},
"ignorePatterns": [
"node_modules",
"lib"
]
}

View File

@@ -0,0 +1,30 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"compilerOptions": {
"skipLibCheck": true,
"declaration": true,
"declarationMap": true,
"noImplicitAny": true,
"noImplicitOverride": true,
"noEmitOnError": false,
"noImplicitThis": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"importHelpers": true,
"downlevelIteration": true,
"resolveJsonModule": true,
"useDefineForClassFields": false,
"module": "CommonJS",
"moduleResolution": "Node",
"target": "ES2023",
"jsx": "react",
"lib": [
"ES2023",
"DOM",
"DOM.AsyncIterable"
],
"sourceMap": true
}
}

View File

@@ -0,0 +1,12 @@
{
"extends": [
"./base.eslintrc.json",
"./errors.eslintrc.json"
],
"parserOptions": {
"lib": [
"ES2023",
"DOM"
]
}
}

View File

@@ -0,0 +1,179 @@
{
"$schema": "https://json.schemastore.org/eslintrc",
"rules": {
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/indent": "off",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/quotes": [
"error",
"single",
{
"avoidEscape": true
}
],
"@typescript-eslint/semi": [
"error",
"always"
],
"@typescript-eslint/type-annotation-spacing": "error",
"arrow-body-style": [
"error",
"as-needed"
],
"arrow-parens": [
"error",
"as-needed"
],
"camelcase": "off",
"comma-dangle": "off",
"curly": "error",
"eol-last": "error",
"eqeqeq": [
"error",
"smart"
],
"guard-for-in": "error",
"id-blacklist": "off",
"id-denylist": [
"error",
"await"
],
"id-match": "off",
"max-len": [
"error",
{
"code": 180
}
],
"no-duplicate-imports": "error",
"no-magic-numbers": "off",
"no-multiple-empty-lines": [
"error",
{
"max": 1
}
],
"no-new-wrappers": "error",
"no-null/no-null": "error",
"no-shadow": "off",
"no-shadow-restricted-names": "error",
"@typescript-eslint/no-shadow": [
"error",
{
"hoist": "all"
}
],
"no-tabs": "error",
"no-throw-literal": "error",
"no-trailing-spaces": "error",
"no-underscore-dangle": "off",
"no-unreachable": "error",
"no-unused-expressions": "error",
"no-var": "error",
"no-void": "error",
"one-var": [
"error",
"never"
],
"prefer-const": [
"error",
{
"destructuring": "all"
}
],
"radix": "off",
"space-before-function-paren": [
"error",
{
"anonymous": "always",
"named": "never",
"asyncArrow": "always"
}
],
"spaced-comment": [
"error",
"always",
{
"exceptions": [
"*",
"+",
"-",
"/"
]
}
],
"@typescript-eslint/tslint/config": [
"error",
{
"rules": {
"file-header": [
true,
{
"allow-single-line-comments": true,
"match": "SPDX-License-Identifier: EPL-2\\.0 OR GPL-2\\.0-only WITH Classpath-exception-2\\.0"
}
],
"jsdoc-format": [
true,
"check-multiline-start"
],
"one-line": [
true,
"check-open-brace",
"check-catch",
"check-else",
"check-whitespace"
],
"typedef": [
true,
"call-signature",
"property-declaration"
],
"whitespace": [
true,
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type"
]
}
}
],
"@theia/annotation-check": "error",
"@theia/localization-check": "error",
"@theia/no-src-import": "error",
"@theia/runtime-import-check": "error",
"@theia/shared-dependencies": "error",
"import/no-extraneous-dependencies": "error",
"import/no-dynamic-require": "error",
"no-restricted-imports": [
"error",
".",
"./",
"..",
"../"
]
},
"overrides": [
{
"files": [
"**/*.{spec,espec,slow-spec}.{js,ts,tsx}"
],
"rules": {
"@theia/runtime-import-check": "off",
"@theia/shared-dependencies": "off",
"import/no-extraneous-dependencies": "off",
"no-unused-expressions": "off"
}
},
{
"files": [
"**/electron-{node,main}/**"
],
"rules": {
"import/no-dynamic-require": "off"
}
}
]
}

View File

@@ -0,0 +1,7 @@
{
"project": "ecd.theia",
"inputFile": "package-lock.json",
"batch": 50,
"timeout": 240,
"summary": "license-check-summary.txt"
}

View File

@@ -0,0 +1,32 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPointStrategy": "merge",
"entryPoints": [
"../gh-pages/packages/*.json"
],
"out": "../gh-pages/docs/next",
"readme": "../README.md",
"favicon": "../logo/favicon.png",
"hideGenerator": true,
"navigation": {
"includeFolders": false,
},
"navigationLinks": {
"Eclipse Theia Website": "https://theia-ide.org/",
"GitHub": "https://github.com/eclipse-theia/theia"
},
"searchInDocuments": true,
"projectDocuments": [
"../doc/Migration.md",
"../doc/Plugin-API.md",
"../doc/api-management.md",
"../doc/api-testing.md",
"../doc/Developing.md",
"../doc/Testing.md",
"../doc/code-organization.md",
"../doc/coding-guidelines.md",
],
"headings": {
"document": true
}
}

8
configs/mocharc.yml Normal file
View File

@@ -0,0 +1,8 @@
require:
- 'ignore-styles'
- 'reflect-metadata/Reflect'
- '@theia/test-setup'
reporter: 'spec'
watch-files:
- '**/*.js'
exit: true

17
configs/nyc.json Normal file
View File

@@ -0,0 +1,17 @@
{
"include": [
"src/**/*.ts"
],
"exclude": [
"src/typings",
"src/**/*.spec.ts"
],
"reporter": [
"html",
"lcov"
],
"extension": [
".ts"
],
"all": true
}

View File

@@ -0,0 +1,18 @@
{
"$schema": "https://typedoc.org/schema.json",
"entryPointStrategy": "expand",
"exclude": [
"**/*spec.ts",
"**/*spec.tsx",
"**/*test.ts",
"**/*test.tsx",
"**/src/**/test/**",
"**/src/**/tests/**",
"**/src/**/typings/**",
],
"hideGenerator": true,
"searchInComments": true,
"skipErrorChecking": true,
"commentStyle": "all",
"logLevel": "Error"
}

View File

@@ -0,0 +1,10 @@
{
"plugins": [
"deprecation"
],
"rules": {
"@typescript-eslint/await-thenable": "warn",
"no-return-await": "warn",
"deprecation/deprecation": "warn"
}
}

29
configs/xss.eslintrc.json Normal file
View File

@@ -0,0 +1,29 @@
{
"extends": ["plugin:no-unsanitized/DOM"],
"plugins": ["no-unsanitized", "react"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"rules": {
"no-unsanitized/method": [
"warn", {
"escape": {
"methods": ["DOMPurify.sanitize"]
}
}
],
"no-unsanitized/property": [
"warn", {
"escape": {
"methods": ["DOMPurify.sanitize"]
}
}
],
"no-eval": "warn",
"no-implied-eval": "warn",
"react/no-danger-with-children": "warn",
"react/no-danger": "warn"
}
}