Parcourir la source

Re-use whatever we put in npm scripts for linting

Kevin van Zonneveld il y a 9 ans
Parent
commit
f4361ab260
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -11,7 +11,7 @@ addons:
       - g++-4.8
 
 script:
-  - ./node_modules/.bin/eslint src/
+  - npm run-script lint
   - npm run-script build
   # Automatically deploy website onto gh-pages (if master and not PR)
   # Don't do this in `after_success`, because then failures won't bubble up