use .eslintrc code example Example: running eslint "lint": "eslint back/*.js && eslint backTest/*.js && eslint front/actions/*.js"