Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESLint: Use strict & stylistic @typescript-eslint rules
The reason for adding "strict: true" to tsconfig.node.json is because without it, eslint now fails with the following errors: [philbates@fedora laravel-starter]$ pnpm run lint > @ lint /home/philbates/code/philbates35/laravel-starter > eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 /home/philbates/code/philbates35/laravel-starter/vite.config.ts 0:1 error This rule requires the `strictNullChecks` compiler option to be turned on to function correctly @typescript-eslint/prefer-nullish-coalescing 0:1 error This rule requires the `strictNullChecks` compiler option to be turned on to function correctly @typescript-eslint/no-unnecessary-condition See: * https://typescript-eslint.io/linting/typed-linting/ * https://typescript-eslint.io/linting/configs/
- Loading branch information