mirror of
https://github.com/brianc/node-postgres.git
synced 2025-12-08 20:16:25 +00:00
Update test command for travis
I think the new syntax I'm using here is compatible with `sh`...let's see.
This commit is contained in:
parent
3a831fc77c
commit
16344cbfcd
14
.eslintrc
14
.eslintrc
@ -1,16 +1,8 @@
|
||||
{
|
||||
"plugins": [
|
||||
"prettier"
|
||||
],
|
||||
"plugins": ["prettier"],
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"extends": [
|
||||
"plugin:prettier/recommended",
|
||||
"prettier/@typescript-eslint"
|
||||
],
|
||||
"ignorePatterns": [
|
||||
"node_modules",
|
||||
"packages/pg-protocol/dist/**/*"
|
||||
],
|
||||
"extends": ["plugin:prettier/recommended", "prettier/@typescript-eslint"],
|
||||
"ignorePatterns": ["node_modules", "coverage", "packages/pg-protocol/dist/**/*"],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2017,
|
||||
"sourceType": "module"
|
||||
|
||||
@ -13,7 +13,7 @@
|
||||
"test": "yarn lint && yarn lerna exec yarn test",
|
||||
"build": "yarn lerna exec --scope pg-protocol yarn build",
|
||||
"pretest": "yarn build",
|
||||
"lint": "!([[ -e node_modules/.bin/prettier ]]) || eslint '*/**/*.{js,ts,tsx}'"
|
||||
"lint": "if [ -x ./node_modules/.bin/eslint ]; then eslint '*/**/*.{js,ts,tsx}'; fi;"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@typescript-eslint/eslint-plugin": "^2.27.0",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user