mirror of
https://github.com/tridactyl/tridactyl.git
synced 2026-09-09 23:06:21 -04:00
Ensure eslint sees temporary files
This commit is contained in:
parent
10b00b4f68
commit
13b1be80bd
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -13,3 +13,4 @@ tags
|
|||
compiler/*.js
|
||||
compiler/**/*.js
|
||||
.*.generated.ts
|
||||
.tmp/
|
||||
|
|
|
|||
|
|
@ -33,7 +33,8 @@ tslintUgly() {
|
|||
local acc=""
|
||||
local IFS=$'\n'
|
||||
local tmpdir
|
||||
tmpdir=$(mktemp -d "tslint.XXXXXXXXX")
|
||||
mkdir -p .tmp
|
||||
tmpdir=$(mktemp --tmpdir=".tmp/" -d "tslint.XXXXXXXXX")
|
||||
for jsfile in "$@"; do
|
||||
tmpfile="$tmpdir/$jsfile"
|
||||
mkdir -p "$(dirname "$tmpfile")"
|
||||
|
|
|
|||
6
tsconfig.eslint.json
Normal file
6
tsconfig.eslint.json
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"extends": "./tsconfig.json",
|
||||
"include": [
|
||||
".tmp/**/*.ts"
|
||||
]
|
||||
}
|
||||
Loading…
Reference in a new issue