mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-24 06:02:36 +03:00
fsatrace linting works now!
This commit is contained in:
parent
c1a375e9aa
commit
7744a0790a
@ -9,7 +9,7 @@ main =
|
||||
shakeArgs
|
||||
shakeOptions
|
||||
{ shakeFiles = "_build",
|
||||
shakeLintIgnore = ["node_modules/**/*"],
|
||||
shakeLintIgnore = ["node_modules/**/*", ".git/**/*"],
|
||||
shakeThreads = 0,
|
||||
shakeChange = ChangeModtimeAndDigest
|
||||
}
|
||||
@ -50,6 +50,11 @@ main =
|
||||
|
||||
-- dev deps we get dynamically instead of from Nix (frowny face)
|
||||
"log/npm-install.txt" %> \out -> do
|
||||
-- npm looks in some unrelated files for whatever reason. We mark
|
||||
-- them as used here to avoid getting linter errors.
|
||||
needed ["README.md"]
|
||||
|
||||
-- now that we've satisfied the linter, let's build.
|
||||
need ["package.json", "package-lock.json"]
|
||||
Stdout report <- cmd "npm install"
|
||||
writeFileChanged out report
|
||||
|
Loading…
Reference in New Issue
Block a user