Linted everything, removed semistandard

This commit is contained in:
Angelos Chalaris
2018-10-18 23:38:01 +03:00
parent 1eb609cd90
commit 1fb3e65cca
27 changed files with 55 additions and 194 deletions

View File

@ -52,8 +52,8 @@ try {
}
const cmd =
`semistandard "${TEMP_PATH}" --fix & ` +
`prettier "${TEMP_PATH}/*.js" --single-quote --print-width=100 --write`;
`prettier "${TEMP_PATH}/*.js" --single-quote --print-width=100 --write & ` +
`eslint "${TEMP_PATH}/*.js" --quiet --fix --rule "no-undef: 0, no-unused-vars: 0, no-multiple-empty-lines: 0" -o eslint_errors.log -f table`;
cp.exec(cmd, {}, () => {
// Loop through each snippet now that semistandard and prettier did their job