junderw
6 years ago
5 changed files with 104 additions and 20 deletions
@ -0,0 +1,36 @@ |
|||
{ |
|||
"compilerOptions": { |
|||
"target": "es2018", |
|||
"module": "commonjs", |
|||
"outDir": "./test", |
|||
"declaration": false, |
|||
"rootDir": "./ts_test", |
|||
"types": [ |
|||
"node" |
|||
], |
|||
"lib": [ |
|||
"es2018", |
|||
"dom" |
|||
], |
|||
"allowJs": false, |
|||
"strict": false, |
|||
"noImplicitAny": false, |
|||
"strictNullChecks": false, |
|||
"strictFunctionTypes": false, |
|||
"strictBindCallApply": false, |
|||
"strictPropertyInitialization": false, |
|||
"noImplicitThis": false, |
|||
"alwaysStrict": false, |
|||
"esModuleInterop": false, |
|||
"noUnusedLocals": false, |
|||
"noUnusedParameters": false, |
|||
"resolveJsonModule": true |
|||
}, |
|||
"include": [ |
|||
"ts_test/**/*.ts" |
|||
], |
|||
"exclude": [ |
|||
"**/*.spec.ts", |
|||
"node_modules/**/*" |
|||
] |
|||
} |
@ -0,0 +1,39 @@ |
|||
{ |
|||
"defaultSeverity": "error", |
|||
"extends": ["tslint:recommended"], |
|||
"rules": { |
|||
"arrow-parens": [true, "ban-single-arg-parens"], |
|||
"curly": false, |
|||
"indent": [ |
|||
true, |
|||
"spaces", |
|||
2 |
|||
], |
|||
"interface-name": [false], |
|||
"match-default-export-name": true, |
|||
"max-classes-per-file": [false], |
|||
"member-access": [true, "no-public"], |
|||
"no-bitwise": false, |
|||
"no-console": false, |
|||
"no-empty": [true, "allow-empty-catch"], |
|||
"no-return-await": true, |
|||
"no-var-requires": false, |
|||
"no-unused-expression": false, |
|||
"object-literal-sort-keys": false, |
|||
"quotemark": [true, "single"], |
|||
"typedef": [ |
|||
true, |
|||
"call-signature", |
|||
"arrow-call-signature", |
|||
"property-declaration" |
|||
], |
|||
"variable-name": [ |
|||
true, |
|||
"ban-keywords", |
|||
"check-format", |
|||
"allow-leading-underscore", |
|||
"allow-pascal-case" |
|||
] |
|||
}, |
|||
"rulesDirectory": [] |
|||
} |
Loading…
Reference in new issue