-
-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
535 additions
and
1,411 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,54 @@ | ||
// @ts-check | ||
|
||
import eslint from "@eslint/js"; | ||
import tseslint from "typescript-eslint"; | ||
import pluginVue from "eslint-plugin-vue"; | ||
import vueParser from "vue-eslint-parser"; | ||
import eslintConfigPrettier from "eslint-config-prettier"; | ||
|
||
export default tseslint.config( | ||
{ | ||
ignores: ["dist", "node_modules"], | ||
}, | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommendedTypeChecked, | ||
// @ts-expect-error - `pluginVue.configs` is not properly typed | ||
...pluginVue.configs["flat/recommended"], | ||
eslintConfigPrettier, | ||
{ | ||
languageOptions: { | ||
parser: vueParser, | ||
parserOptions: { | ||
parser: tseslint.parser, | ||
project: true, | ||
tsconfigRootDir: "./", | ||
extraFileExtensions: [".vue"], | ||
}, | ||
}, | ||
rules: { | ||
"@typescript-eslint/no-empty-function": "off", | ||
"@typescript-eslint/no-non-null-assertion": 0, | ||
"@typescript-eslint/no-explicit-any": 0, | ||
"@typescript-eslint/explicit-module-boundary-types": 0, | ||
"@typescript-eslint/no-floating-promises": "error", | ||
"@typescript-eslint/no-for-in-array": "error", | ||
"@typescript-eslint/no-unsafe-assignment": "off", | ||
"@typescript-eslint/no-unsafe-argument": "off", | ||
"@typescript-eslint/no-unsafe-return": "off", | ||
"@typescript-eslint/no-unsafe-member-access": "off", | ||
"no-implied-eval": "off", | ||
"@typescript-eslint/no-implied-eval": "error", | ||
"@typescript-eslint/no-misused-promises": "error", | ||
"@typescript-eslint/no-unnecessary-type-assertion": "error", | ||
"require-await": "off", | ||
"@typescript-eslint/require-await": "error", | ||
"@typescript-eslint/unbound-method": "error", | ||
"vue/html-indent": ["warn", 4], | ||
"vue/no-mutating-props": "off", | ||
"vue/max-attributes-per-line": "off", | ||
"vue/html-self-closing": ["warn", { html: { void: "any" } }], | ||
"vue/multi-word-component-names": "off", | ||
"vue/singleline-html-element-content-newline": "off", | ||
}, | ||
}, | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
{ | ||
"name": "baklavajs-monorepo", | ||
"private": true, | ||
"type": "module", | ||
"scripts": { | ||
"playground": "cd packages/renderer-vue && yarn run dev", | ||
"lint": "eslint \"packages/*/src/**/*.{ts,vue}\"", | ||
|
@@ -16,19 +17,18 @@ | |
"packages/*" | ||
], | ||
"devDependencies": { | ||
"@typescript-eslint/eslint-plugin": "^7.3.1", | ||
"@typescript-eslint/parser": "^7.3.1", | ||
"eslint": "^8.57.0", | ||
"@eslint/js": "^9.0.0", | ||
"eslint": "^9.0.0", | ||
"eslint-config-prettier": "^9.1.0", | ||
"eslint-plugin-vue": "^9.23.0", | ||
"eslint-plugin-vue": "^9.24.1", | ||
"lerna": "^8.1.2", | ||
"mermaid": "^10.9.0", | ||
"prettier": "^3.2.5", | ||
"prettier-eslint": "^16.3.0", | ||
"rimraf": "^5.0.5", | ||
"typedoc": "^0.25.12", | ||
"typescript": "^5.4.3", | ||
"vitepress": "^1.0.0-rc.45", | ||
"typedoc": "^0.25.13", | ||
"typescript": "^5.4.4", | ||
"typescript-eslint": "^7.6.0", | ||
"vitepress": "^1.1.0", | ||
"vue-eslint-parser": "^9.4.2" | ||
}, | ||
"packageManager": "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,6 +37,6 @@ | |
}, | ||
"devDependencies": { | ||
"esbuild": "^0.20.2", | ||
"typescript": "^5.4.3" | ||
"typescript": "^5.4.4" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.