File tree Expand file tree Collapse file tree 4 files changed +1226
-903
lines changed Expand file tree Collapse file tree 4 files changed +1226
-903
lines changed Original file line number Diff line number Diff line change @@ -57,6 +57,12 @@ matrix:
5757 addons :
5858 postgresql : ' 9.6'
5959
60+ # only run lint on latest Node LTS
61+ - node_js : lts/*
62+ addons :
63+ postgresql : ' 9.6'
64+ script : yarn lint
65+
6066 # PostgreSQL 9.2 only works on precise
6167 - node_js : lts/carbon
6268 addons :
Original file line number Diff line number Diff line change 1+ --install.ignore-engines true
Original file line number Diff line number Diff line change 1010 " packages/*"
1111 ],
1212 "scripts" : {
13- "test" : " yarn lint && yarn lerna exec yarn test" ,
13+ "test" : " yarn lerna exec yarn test" ,
1414 "build" : " yarn lerna exec --scope pg-protocol yarn build" ,
1515 "pretest" : " yarn build" ,
16- "lint" : " if [ -x ./node_modules/.bin/prettier ]; then eslint '*/**/*.{js,ts,tsx}'; fi; "
16+ "lint" : " eslint '*/**/*.{js,ts,tsx}'"
1717 },
1818 "devDependencies" : {
19- "@typescript-eslint/eslint-plugin" : " ^2.27 .0" ,
20- "@typescript-eslint/parser" : " ^2.27 .0" ,
21- "eslint" : " ^6.8 .0" ,
22- "eslint-config-prettier" : " ^6.10.1 " ,
19+ "@typescript-eslint/eslint-plugin" : " ^4.4 .0" ,
20+ "@typescript-eslint/parser" : " ^4.4 .0" ,
21+ "eslint" : " ^7.11 .0" ,
22+ "eslint-config-prettier" : " ^6.12.0 " ,
2323 "eslint-plugin-node" : " ^11.1.0" ,
24- "eslint-plugin-prettier" : " ^3.1.2" ,
25- "lerna" : " ^3.19.0"
26- },
27- "optionalDependencies" : {
28- "prettier" : " 2.0.4"
24+ "eslint-plugin-prettier" : " ^3.1.4" ,
25+ "lerna" : " ^3.19.0" ,
26+ "prettier" : " 2.1.2"
2927 },
3028 "prettier" : {
3129 "semi" : false ,
You can’t perform that action at this time.
0 commit comments