Fix: workflow failure with missing lint command and added lint for apps/examples (#866)
* Add turbo run lint * Add lint to all apps and examples * Update eslint with monorepo configuration see: https://typescript-eslint.io/docs/linting/typed-linting/monorepos#one-tsconfigjson-per-package-and-an-optional-one-in-the-root * Remove unused rules * Exclude @tldraw/www from global eslint config * Remove duplicated eslint * Fix eslint prefer-const errors * Fix eslint no-unused-vars warning * Update package.json * Fix eslint no-unused-vars warning * bump eslint@^8.20.0 * Correct "Fix eslint no-unused-vars warning" This reverts commit 0158a2585af84b623f2c5581412252c8471375ae.
This commit is contained in:
parent
82f9278976
commit
3c2c26c11e
43 changed files with 116 additions and 61 deletions
|
@ -13,7 +13,8 @@
|
|||
"scripts": {
|
||||
"start:vscode": "node scripts/dev.mjs -w",
|
||||
"build": "node scripts/build.mjs",
|
||||
"build:apps": "yarn build"
|
||||
"build:apps": "yarn build",
|
||||
"lint": "eslint src/ --ext .ts,.tsx"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tldraw/tldraw": "*",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue