Why dos TSLint only checks src directory?
tsconfig.json
{
"compilerOptions": {
"outDir": "./built",
"allowJs": true,
"target": "es5",
"typeRoots": ["node_modules/@types", "typings"]
},
"include": ["./src/**/*", "./typings/**/*"],
"exclude": ["node_modules"]
}tslint.json
{
"defaultSeverity": "error",
"extends": [
"tslint:recommended"
],
"jsRules": {},
"rules": {},
"rulesDirectory": []
}it only shows errors of src directory
tslint --project .
ERROR: /Users/kiwenlau/Desktop/tslint-test/src/index.ts:1:1 - Forbidden 'var' keyword, use 'let' or 'const' insteadtslint "src/**/*"
ERROR: src/index.ts:1:1 - Forbidden 'var' keyword, use 'let' or 'const' insteadtslint "typings/**/*"
ERROR: typings/index.d.ts:1:11 - interface name must start with a capitalized I