Browse Source

OPS: more strict linter checks. now CI will redflag even minor codestyle issues. run 'npm run lint:fix' manually before commit

urlimport
Overtorment 5 years ago
parent
commit
5e85dd3010
  1. 3
      package.json

3
package.json

@ -38,7 +38,8 @@
"postinstall": "./node_modules/.bin/rn-nodeify --install buffer,events,process,stream,util,inherits,fs,path --hack; npm run releasenotes2json; npm run podinstall; npx jetify",
"test": "npm run unit && npm run jest && npm run lint",
"jest": "node node_modules/jest/bin/jest.js tests/integration/*",
"lint": "./node_modules/.bin/eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/ --fix",
"lint": "./node_modules/.bin/eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/",
"lint:fix": "./node_modules/.bin/eslint *.js screen/**/*.js screen/ class/ models/ loc/ tests/integration/ --fix",
"unit": "./node_modules/.bin/mocha tests/unit/*"
},
"jest": {

Loading…
Cancel
Save