-
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 Dependencies, Linting, and TypeScript (#296)
* Use PNPM Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Prettier ignore PNPM lockfile Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * PNPM save TypeScript to dev Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Finish changing NPM to pnpm Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Use new Renovate config Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Use specific Node version Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Update deps and add Vitest Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Start configuring vitest Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Continue configuring vitest Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * More Vitest configuration Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Update lint deps and remove Jest Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Remove old file from tsconfig Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Remove old file from TS4 tsconfig Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Update ESLint and use tsup Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Automatic lint fixes Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Fix projectService Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Manual lint fixes Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Exclude renamed internal type from typedoc Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Widen supported TypeScript versions Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Use Codecov token in CI Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> * Add ESLint JS config Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com> --------- Signed-off-by: Collin Bachman <3395010+bachmacintosh@users.noreply.github.com>
- Loading branch information
1 parent
f551674
commit 69406f2
Showing
34 changed files
with
3,162 additions
and
11,785 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
{ | ||
"$schema": "https://docs.renovatebot.com/renovate-schema.json", | ||
"extends": ["github>bachmacintosh/renovate-config:jslib"] | ||
"extends": ["github>bachman-dev/renovate-config:jslib"] | ||
} |
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 |
---|---|---|
@@ -1 +1 @@ | ||
20 | ||
20.16.0 |
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,4 +4,7 @@ coverage | |
|
||
# Generated data | ||
dist/ | ||
docs/ | ||
docs/ | ||
|
||
# Lockfile | ||
pnpm-lock.yaml |
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,7 @@ | ||
{ | ||
"printWidth": 120, | ||
"semi": true, | ||
"singleAttributePerLine": true, | ||
"singleQuote": false, | ||
"trailingComma": "all" | ||
} |
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,32 @@ | ||
import bachmanDev from "@bachman-dev/eslint-config"; | ||
import eslint from "@eslint/js"; | ||
import eslintConfigPrettier from "eslint-config-prettier"; | ||
import tseslint from "typescript-eslint"; | ||
|
||
export default tseslint.config( | ||
{ | ||
// Replace output folder if needed, e.g. "dist" | ||
ignores: ["{coverage,docs,dist,tests}/**"], | ||
}, | ||
eslint.configs.recommended, | ||
...tseslint.configs.strictTypeChecked, | ||
...tseslint.configs.stylisticTypeChecked, | ||
bachmanDev({ language: "typescript" }), | ||
{ | ||
languageOptions: { | ||
parserOptions: { | ||
projectService: true, | ||
tsconfigRootDir: import.meta.dirname, | ||
}, | ||
}, | ||
}, | ||
{ | ||
files: ["**/*.js"], | ||
...tseslint.configs.disableTypeChecked, | ||
}, | ||
{ | ||
files: ["**/*.js"], | ||
...bachmanDev({ language: "javascript-in-typescript" }), | ||
}, | ||
eslintConfigPrettier, | ||
); |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.