-
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.
WIP added nx, esbuild, vitest, linter
- Loading branch information
1 parent
f01d4f1
commit 3658c4b
Showing
35 changed files
with
12,589 additions
and
23,814 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
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,9 @@ | ||
// @ts-check | ||
|
||
import eslint from '@eslint/js'; | ||
import tseslint from 'typescript-eslint'; | ||
|
||
export default tseslint.config( | ||
eslint.configs.recommended, | ||
...tseslint.configs.recommended, | ||
); |
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,13 +1,53 @@ | ||
{ | ||
"targetDefaults": {}, | ||
"targetDefaults": { | ||
"test": { | ||
"dependsOn": [ | ||
"^test" | ||
] | ||
}, | ||
"build": { | ||
"dependsOn": [ | ||
"^build" | ||
], | ||
"outputs": [ | ||
"{projectRoot}/dist" | ||
], | ||
"cache": false | ||
} | ||
}, | ||
"namedInputs": { | ||
"default": [ | ||
"{projectRoot}/**/*", | ||
"sharedGlobals" | ||
], | ||
"sharedGlobals": [], | ||
"production": [ | ||
"default" | ||
"default", | ||
"!{projectRoot}/.eslintrc.json", | ||
"!{projectRoot}/eslint.config.js", | ||
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)", | ||
"!{projectRoot}/tsconfig.spec.json", | ||
"!{projectRoot}/jest.config.[jt]s", | ||
"!{projectRoot}/src/test-setup.[jt]s", | ||
"!{projectRoot}/test-setup.[jt]s" | ||
] | ||
} | ||
}, | ||
"$schema": "./node_modules/nx/schemas/nx-schema.json", | ||
"defaultBase": "main", | ||
"plugins": [ | ||
{ | ||
"plugin": "@nx/eslint/plugin", | ||
"options": { | ||
"targetName": "lint", | ||
"extensions": [ | ||
"ts", | ||
"tsx", | ||
"js", | ||
"jsx", | ||
"html", | ||
"vue" | ||
] | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.