Created
December 6, 2018 23:59
-
-
Save aortbals/89e7b9695498fd2a153addfb3f9af5c4 to your computer and use it in GitHub Desktop.
create-react-app TypeScript configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"compilerOptions": { | |
"target": "esnext", | |
"allowJs": true, | |
"skipLibCheck": false, | |
"esModuleInterop": true, | |
"allowSyntheticDefaultImports": true, | |
"strict": true, | |
"forceConsistentCasingInFileNames": true, | |
"module": "esnext", | |
"moduleResolution": "node", | |
"resolveJsonModule": true, | |
"isolatedModules": true, | |
"noEmit": true, | |
"jsx": "preserve", | |
"noUnusedLocals": true, | |
"noUnusedParameters": true | |
}, | |
"include": ["src"] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"defaultSeverity": "error", | |
"extends": ["tslint:latest", "tslint-react", "tslint-config-prettier"], | |
"jsRules": {}, | |
"rules": { | |
"quotemark": [true, "single", "jsx-double"], | |
"jsx-no-multiline-js": false, | |
"jsx-no-lambda": false, | |
"no-console": { | |
"severity": "warning" | |
}, | |
"object-literal-sort-keys": false, | |
"interface-name": false, | |
"no-unused-variable": true | |
}, | |
"rulesDirectory": [] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment