Skip to content

Commit

Permalink
modify lint-staged to be runned also on js and jsx files
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszpmroz committed Apr 1, 2020
1 parent f23696f commit cdab037
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"test": "npm run unit && npm run jest",
"jest": "node node_modules/jest/bin/jest.js tests/integration/*",
"lint": "eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/",
"lint:fix": "npm lint --fix",
"lint:fix": "npm run lint --fix",
"unit": "./node_modules/.bin/mocha tests/unit/*"
},
"jest": {
Expand Down Expand Up @@ -156,8 +156,7 @@
"stream": "stream-browserify"
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"npm test",
"./**/*.{ts,tsx,js,jsx}": [
"npm run lint:fix"
]
},
Expand Down
2 changes: 0 additions & 2 deletions screen/selftest.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@ export default class Selftest extends Component {
isOk = false;
}

//

// utxos as received from blockcypher
let utxos = [
{
Expand Down

0 comments on commit cdab037

Please sign in to comment.