mirror of
https://github.com/go-gitea/gitea.git
synced 2024-11-27 05:11:54 +08:00
08579d6cbb
This enables eslint to use the typescript parser and resolver which brings some benefits that eslint rules now have type information available and a tsconfig.json is required for the upcoming typescript migration as well. Notable changes done: - Add typescript parser and resolver - Move the vue-specific config into the root file - Enable `vue-scoped-css/enforce-style-type` rule, there was only one violation and I added a inline disable there. - Fix new lint errors that were detected because of the parser change - Update `i/no-unresolved` to remove now-unnecessary workaround for the resolver - Disable `i/no-named-as-default` as it seems to raise bogus issues in the webpack config - Change vitest config to typescript - Change playwright config to typescript - Add `eslint-plugin-playwright` and fix issues - Add `tsc` linting to `make lint-js`
105 lines
3.2 KiB
JSON
105 lines
3.2 KiB
JSON
{
|
|
"type": "module",
|
|
"engines": {
|
|
"node": ">= 18.0.0"
|
|
},
|
|
"dependencies": {
|
|
"@citation-js/core": "0.7.14",
|
|
"@citation-js/plugin-bibtex": "0.7.14",
|
|
"@citation-js/plugin-csl": "0.7.14",
|
|
"@citation-js/plugin-software-formats": "0.6.1",
|
|
"@github/markdown-toolbar-element": "2.2.3",
|
|
"@github/relative-time-element": "4.4.2",
|
|
"@github/text-expander-element": "2.7.1",
|
|
"@mcaptcha/vanilla-glue": "0.1.0-alpha-3",
|
|
"@primer/octicons": "19.9.0",
|
|
"@silverwind/vue3-calendar-heatmap": "2.0.6",
|
|
"add-asset-webpack-plugin": "3.0.0",
|
|
"ansi_up": "6.0.2",
|
|
"asciinema-player": "3.8.0",
|
|
"chart.js": "4.4.3",
|
|
"chartjs-adapter-dayjs-4": "1.0.4",
|
|
"chartjs-plugin-zoom": "2.0.1",
|
|
"clippie": "4.1.1",
|
|
"css-loader": "7.1.2",
|
|
"dayjs": "1.11.11",
|
|
"dropzone": "6.0.0-beta.2",
|
|
"easymde": "2.18.0",
|
|
"esbuild-loader": "4.2.0",
|
|
"escape-goat": "4.0.0",
|
|
"fast-glob": "3.3.2",
|
|
"htmx.org": "2.0.0",
|
|
"idiomorph": "0.3.0",
|
|
"jquery": "3.7.1",
|
|
"katex": "0.16.10",
|
|
"license-checker-webpack-plugin": "0.2.1",
|
|
"mermaid": "10.9.1",
|
|
"mini-css-extract-plugin": "2.9.0",
|
|
"minimatch": "9.0.4",
|
|
"monaco-editor": "0.49.0",
|
|
"monaco-editor-webpack-plugin": "7.1.0",
|
|
"pdfobject": "2.3.0",
|
|
"postcss": "8.4.38",
|
|
"postcss-loader": "8.1.1",
|
|
"postcss-nesting": "12.1.5",
|
|
"sortablejs": "1.15.2",
|
|
"swagger-ui-dist": "5.17.14",
|
|
"tailwindcss": "3.4.4",
|
|
"temporal-polyfill": "0.2.5",
|
|
"throttle-debounce": "5.0.0",
|
|
"tinycolor2": "1.6.0",
|
|
"tippy.js": "6.3.7",
|
|
"toastify-js": "1.12.0",
|
|
"tributejs": "5.1.3",
|
|
"typescript": "5.5.2",
|
|
"uint8-to-base64": "0.2.0",
|
|
"vanilla-colorful": "0.7.2",
|
|
"vue": "3.4.29",
|
|
"vue-bar-graph": "2.0.0",
|
|
"vue-chartjs": "5.3.1",
|
|
"vue-loader": "17.4.2",
|
|
"webpack": "5.92.0",
|
|
"webpack-cli": "5.1.4",
|
|
"wrap-ansi": "9.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint-community/eslint-plugin-eslint-comments": "4.3.0",
|
|
"@playwright/test": "1.44.1",
|
|
"@stoplight/spectral-cli": "6.11.1",
|
|
"@stylistic/eslint-plugin-js": "2.2.1",
|
|
"@stylistic/stylelint-plugin": "2.1.2",
|
|
"@typescript-eslint/parser": "7.14.1",
|
|
"@vitejs/plugin-vue": "5.0.5",
|
|
"eslint": "8.57.0",
|
|
"eslint-import-resolver-typescript": "3.6.1",
|
|
"eslint-plugin-array-func": "4.0.0",
|
|
"eslint-plugin-github": "5.0.1",
|
|
"eslint-plugin-i": "2.29.1",
|
|
"eslint-plugin-no-jquery": "3.0.1",
|
|
"eslint-plugin-no-use-extend-native": "0.5.0",
|
|
"eslint-plugin-playwright": "1.6.2",
|
|
"eslint-plugin-regexp": "2.6.0",
|
|
"eslint-plugin-sonarjs": "1.0.3",
|
|
"eslint-plugin-unicorn": "54.0.0",
|
|
"eslint-plugin-vitest": "0.4.1",
|
|
"eslint-plugin-vitest-globals": "1.5.0",
|
|
"eslint-plugin-vue": "9.26.0",
|
|
"eslint-plugin-vue-scoped-css": "2.8.0",
|
|
"eslint-plugin-wc": "2.1.0",
|
|
"happy-dom": "14.12.0",
|
|
"markdownlint-cli": "0.41.0",
|
|
"postcss-html": "1.7.0",
|
|
"stylelint": "16.6.1",
|
|
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
|
"stylelint-declaration-strict-value": "1.10.4",
|
|
"stylelint-value-no-unknown-custom-properties": "6.0.1",
|
|
"svgo": "3.3.2",
|
|
"updates": "16.2.0",
|
|
"vite-string-plugin": "1.3.4",
|
|
"vitest": "1.6.0"
|
|
},
|
|
"browserslist": [
|
|
"defaults"
|
|
]
|
|
}
|