Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use tsconfig strict mode #463

Open
anton-gustafsson opened this issue Dec 21, 2023 · 0 comments · Fixed by #466
Open

Use tsconfig strict mode #463

anton-gustafsson opened this issue Dec 21, 2023 · 0 comments · Fixed by #466
Labels
Technical improvements in code quailty, refactoring etc

Comments

@anton-gustafsson
Copy link
Member

Uncomment strict and fix all the errors

{
    "compileOnSave": false,
    "compilerOptions": {
        "module": "ESNext",
        "skipLibCheck": true,
        "removeComments": true,
        "resolveJsonModule": true,
        "emitDecoratorMetadata": true,
        "experimentalDecorators": true,
        "sourceMap": true,
        "target": "ES2020",
        "moduleResolution": "node",
        "baseUrl": "src",
        "allowSyntheticDefaultImports": true,
        "esModuleInterop": true,
        // "strict": true,
        "noUncheckedIndexedAccess": true
    },
    "include": ["src", "tests", "capacitor.config.ts", "jest.config.ts", "cypress.config.ts"]
}

@anton-gustafsson anton-gustafsson added the Technical improvements in code quailty, refactoring etc label Dec 21, 2023
@anton-gustafsson anton-gustafsson linked a pull request Jan 2, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Technical improvements in code quailty, refactoring etc
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant