mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-12 02:29:59 +00:00
Share tsconfig settings
This commit is contained in:
11
common/tsconfig.json
Normal file
11
common/tsconfig.json
Normal file
@@ -0,0 +1,11 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"allowJs": true
|
||||
, "esModuleInterop": true
|
||||
, "module": "commonjs"
|
||||
, "noImplicitAny": true
|
||||
, "removeComments": true
|
||||
, "resolveJsonModule": true
|
||||
, "target": "es6"
|
||||
}
|
||||
}
|
||||
31
common/tslint.json
Normal file
31
common/tslint.json
Normal file
@@ -0,0 +1,31 @@
|
||||
{
|
||||
"defaultSeverity": "error"
|
||||
, "extends": [
|
||||
"tslint:recommended"
|
||||
]
|
||||
, "jsRules": false
|
||||
, "rules": {
|
||||
"no-consecutive-blank-lines": false
|
||||
, "arrow-parens": false
|
||||
, "interface-name": false
|
||||
, "max-classes-per-file": false
|
||||
, "max-line-length": [ true, {
|
||||
"limit": 80
|
||||
, "ignore-pattern": "//|.*(\"|`);?$"
|
||||
}]
|
||||
, "member-access": [ true ]
|
||||
, "no-console": [ true, "log" ]
|
||||
, "no-namespace": [ true, "allow-declarations" ]
|
||||
, "object-literal-sort-keys": false
|
||||
, "radix": false
|
||||
, "semicolon": [ true, "always" ]
|
||||
, "space-before-function-paren": [ true, "always" ]
|
||||
, "trailing-comma": false
|
||||
, "variable-name": [ true
|
||||
, "ban-keywords"
|
||||
, "check-format"
|
||||
, "allow-pascal-case"
|
||||
, "allow-leading-underscore" ]
|
||||
}
|
||||
, "rulesDirectory": []
|
||||
}
|
||||
Reference in New Issue
Block a user