diff --git a/.travis.yml b/.travis.yml index 6330105aa..5459eb926 100644 --- a/.travis.yml +++ b/.travis.yml @@ -64,7 +64,7 @@ matrix: before_install: skip install: yarn install --frozen-lockfile before_script: skip - script: yarn lint . + script: yarn lint after_success: skip - name: 'stylelint' diff --git a/package.json b/package.json index 804635e36..e8715655b 100644 --- a/package.json +++ b/package.json @@ -121,7 +121,7 @@ "pree2e": "yarn run update-webdriver", "e2e": "protractor e2e-tests/protractor.conf.js", "prettier": "prettier", - "lint": "eslint \"*/**/*.{js,ts,tsx}\"", + "lint": "eslint \"ESSArch_Core/frontend/static/frontend/scripts/**/*.{js,ts,tsx}\"", "stylelint": "stylelint \"ESSArch_Core/frontend/static/frontend/styles/**/*.scss\"" } }