chore(lint): configure project wide linting to make use of Turborepo again

Don't know why I didn't get this to work before with the cwd workaround...
This commit is contained in:
Joakim Carlstein 2023-11-17 14:19:58 +01:00
parent d5fe58c0db
commit 5b00fd4fdb
6 changed files with 16 additions and 7 deletions

View file

@ -22,7 +22,8 @@
],
"scripts": {
"build": "tsc --pretty",
"build:watch": "tsc --pretty --watch"
"build:watch": "tsc --pretty --watch",
"lint": "xo --cwd=../.. $(pwd)"
},
"keywords": [
"migrate",

View file

@ -19,7 +19,8 @@
],
"scripts": {
"build": "tsc --pretty",
"build:watch": "tsc --pretty --watch"
"build:watch": "tsc --pretty --watch",
"lint": "xo --cwd=../.. $(pwd)"
},
"keywords": [
"emigrate",

View file

@ -19,7 +19,8 @@
],
"scripts": {
"build": "tsc --pretty",
"build:watch": "tsc --pretty --watch"
"build:watch": "tsc --pretty --watch",
"lint": "xo --cwd=../.. $(pwd)"
},
"keywords": [
"emigrate",

View file

@ -25,7 +25,8 @@
"build": "tsc --pretty",
"build:watch": "tsc --pretty --watch",
"test": "glob -c \"node --import tsx --test-reporter spec --test\" \"./src/**/*.test.ts\"",
"test:watch": "glob -c \"node --watch --import tsx --test-reporter spec --test\" \"./src/**/*.test.ts\""
"test:watch": "glob -c \"node --watch --import tsx --test-reporter spec --test\" \"./src/**/*.test.ts\"",
"lint": "xo --cwd=../.. $(pwd)"
},
"keywords": [
"emigrate",