-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update formatting tools, improve linting configs, and minor do…
…cs adjustments. (#13) * chore: update VSCode settings for Prettier and add ESLint configuration * fix: linting and formatting errors
- Loading branch information
Showing
9 changed files
with
1,938 additions
and
481 deletions.
There are no files selected for viewing
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,11 +1,12 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"[json]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "biomejs.biome" | ||
"editor.defaultFormatter": "esbenp.prettier-vscode" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -4,17 +4,18 @@ | |
|
||
During the early development phase, we provide patches for security vulnerabilities primarily for the upcoming 1.x.x versions. Pre-1.0.0 releases will be marked as pre-release and may receive limited support. | ||
|
||
| Version | Supported | | ||
| ------------ | ------------------ | | ||
| 1.x.x | :white_check_mark: | | ||
| 0.x.x (pre) | :white_check_mark: (limited) | | ||
| < 0.3.0 | :x: | | ||
| Version | Supported | | ||
| ----------- | ---------------------------- | | ||
| 1.x.x | :white_check_mark: | | ||
| 0.x.x (pre) | :white_check_mark: (limited) | | ||
| < 0.3.0 | :x: | | ||
|
||
## Reporting a Vulnerability | ||
|
||
If you discover a security vulnerability, please report it by emailing [[email protected]](mailto:[email protected]). As this project is maintained by a solo developer, please allow up to 3 business days for a response. We will work with you to ensure a thorough understanding of the issue and to address it as quickly as possible. | ||
|
||
Please include the following details with your report: | ||
|
||
- A description of the vulnerability | ||
- Steps to reproduce the issue | ||
- Any potential impacts | ||
|
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,33 @@ | ||
import pluginJs from "@eslint/js" | ||
import pluginVue from "eslint-plugin-vue" | ||
import globals from "globals" | ||
import tseslint from "typescript-eslint" | ||
import prettier from "eslint-config-prettier" | ||
|
||
/** @type {import('eslint').Linter.Config[]} */ | ||
export default [ | ||
{ files: ["docs/**/*.{ts,js,vue}", "src/*.{ts}"] }, | ||
{ languageOptions: { globals: { ...globals.browser, ...globals.node } } }, | ||
pluginJs.configs.recommended, | ||
...tseslint.configs.recommended, | ||
...pluginVue.configs["flat/essential"], | ||
{ files: ["**/*.vue"], languageOptions: { parserOptions: { parser: tseslint.parser } } }, | ||
{ ignores: ["**docs/.vitepress/cache/**"] }, | ||
{ | ||
files: ["src/**/*.ts", "test/**/*.ts"], | ||
rules: { | ||
"@typescript-eslint/no-namespace": "off", | ||
"@typescript-eslint/no-explicit-any": "off", | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"no-console": "warn", | ||
"no-unused-expressions": "warn", | ||
}, | ||
}, | ||
{ | ||
files: ["test/bench.ts"], | ||
rules: { | ||
"@typescript-eslint/ban-ts-comment": "off", | ||
}, | ||
}, | ||
prettier, | ||
] |
Oops, something went wrong.