ci: Setup eslint-import-resolver-typescript for improved TS linting (#4996)

* Setup stricter linting for typescript

* make `import/no-unresolved` an error everywhere

* use prettier to format `.vscode/settings.default.json`

* address PR comments
This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2022-12-22 09:55:39 +01:00
committed by GitHub
parent 9568b747c7
commit 17f13b3b6e
21 changed files with 181 additions and 58 deletions

View File

@@ -36,7 +36,7 @@ function renderChunks() {
const publicPath = process.env.VUE_APP_PUBLIC_PATH || '/';
const lodashAliases = ['orderBy', 'camelCase', 'cloneDeep', 'isEqual'].map((name) => ({
const lodashAliases = ['orderBy', 'camelCase', 'cloneDeep', 'isEqual', 'startCase'].map((name) => ({
find: new RegExp(`^lodash.${name}$`, 'i'),
replacement: require.resolve(`lodash-es/${name}`),
}));