diff --git a/.drone.yml b/.drone.yml index a94c0bc..47a84a0 100644 --- a/.drone.yml +++ b/.drone.yml @@ -12,6 +12,7 @@ steps: commands: - cd frontend - npm install + - npm run-script lint - npm run-script build - name: backend diff --git a/frontend/package.json b/frontend/package.json index 7ece1fa..3041a79 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -3,7 +3,7 @@ "scripts": { "start": "NODE_ENV=development ./node_modules/webpack/bin/webpack.js -d --progress --colors --watch", "build": "NODE_ENV=production ./node_modules/webpack/bin/webpack.js -p --progress --colors", - "lint": "./node_modules/eslint/bin/eslint.js ." + "lint": "./node_modules/eslint/bin/eslint.js js" }, "dependencies": { "bootstrap": "^4.4.1",