mirror of
https://github.com/hensm/fx_cast.git
synced 2026-06-11 10:09:59 +00:00
Reorganize ext build scripts and add linting
This commit is contained in:
13
ext/bin/lint.js
Normal file
13
ext/bin/lint.js
Normal file
@@ -0,0 +1,13 @@
|
||||
"use strict";
|
||||
|
||||
const { spawnSync } = require("child_process");
|
||||
const { ROOT, INCLUDE_PATH } = require("./lib/paths");
|
||||
|
||||
|
||||
spawnSync(`tslint --config ${ROOT}/tslint.json \
|
||||
--project ${ROOT}/tsconfig.json \
|
||||
"${INCLUDE_PATH}/**/*.ts{,x}"`
|
||||
, {
|
||||
shell: true
|
||||
, stdio: [ process.stdin, process.stdout, process.stderr ]
|
||||
});
|
||||
Reference in New Issue
Block a user