Reorganize ext build scripts and add linting

This commit is contained in:
hensm
2019-02-26 14:08:17 +00:00
parent 1e49fbe9be
commit 2014566cc4
9 changed files with 78 additions and 44 deletions

View File

@@ -51,9 +51,9 @@ async function build () {
spawnSync(`tsc --project ${ROOT_PATH} \
--outDir ${BUILD_PATH}`
, {
shell: true
, stdio: [ process.stdin, process.stdout, process.stderr ]
});
shell: true
, stdio: [ process.stdin, process.stdout, process.stderr ]
});
// Move tsc output to build dir
fs.moveSync(path.join(BUILD_PATH, "src"), BUILD_PATH);

View File

@@ -1,24 +1,5 @@
{
"defaultSeverity": "error"
, "extends": [
"tslint:recommended"
"extends": [
"../tslintCommon.json"
]
, "jsRules": {}
, "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": "//"
}]
, "no-console": [ true, "log" ]
, "object-literal-sort-keys": false
, "radix": false
, "semicolon": [ true, "always" ]
, "space-before-function-paren": [ true, "always" ]
, "trailing-comma": false
}
, "rulesDirectory": []
}