[fix] eslint from brivate (#1498)
This PR updates the `lint` scripts for the vs code extension in order to solve a very weird bug with our submodules setup. ### Change Type - [x] `internal` — Any other changes that don't affect the published package (will not publish a new version)
This commit is contained in:
parent
3bc72cb822
commit
09c367811d
3 changed files with 10 additions and 2 deletions
|
@ -30,7 +30,7 @@
|
|||
"build": "yarn run -T tsx scripts/build.ts",
|
||||
"dev": "yarn run -T tsx scripts/dev.ts",
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
||||
"lint": "yarn run -T tsx ../../../scripts/lint.ts"
|
||||
"lint": "yarn run -T eslint --report-unused-disable-directives --ignore-path ../../../.eslintignore"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@tldraw/assets": "workspace:*",
|
||||
|
|
|
@ -126,7 +126,7 @@
|
|||
"build": "cd ../editor && yarn build && cd ../extension && tsx scripts/build.ts",
|
||||
"package": "yarn build && tsx scripts/package.ts",
|
||||
"publish": "vsce publish",
|
||||
"lint": "yarn run -T tsx ../../../scripts/lint.ts",
|
||||
"lint": "yarn run -T eslint --report-unused-disable-directives --ignore-path ../../../.eslintignore",
|
||||
"clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist && rm -rf editor && rm -rf temp & yarn"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
|
|
@ -63,6 +63,14 @@ const perPackageExceptions: Record<string, Record<string, () => string | undefin
|
|||
prepack: () => undefined,
|
||||
postpack: () => undefined,
|
||||
},
|
||||
'tldraw-vscode': {
|
||||
lint: () =>
|
||||
'yarn run -T eslint --report-unused-disable-directives --ignore-path ../../../.eslintignore',
|
||||
},
|
||||
'@tldraw/vscode-editor': {
|
||||
lint: () =>
|
||||
'yarn run -T eslint --report-unused-disable-directives --ignore-path ../../../.eslintignore',
|
||||
},
|
||||
}
|
||||
|
||||
async function main({ fix }: { fix?: boolean }) {
|
||||
|
|
Loading…
Reference in a new issue