mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 01:59:58 +00:00
Reorganize ext build scripts and add linting
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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": []
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user