diff --git a/.prettierignore b/.prettierignore deleted file mode 100644 index ad1d803c..00000000 --- a/.prettierignore +++ /dev/null @@ -1,8 +0,0 @@ -# blacklist all files -* - -# only format js files in src, json, and md files -!*/ -!src/**/*.js -!*.json -!*.md \ No newline at end of file diff --git a/.travis.yml b/.travis.yml index fd7411b0..0957b4a1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -25,15 +25,13 @@ branches: script: echo "Running tests against $(node -v)..." jobs: - allow_failures: - - os: osx include: - stage: Produce Coverage - node_js: node + node_js: lts/* os: windows script: jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js && rm -rf ./coverage - stage: NPM release - node_js: node + node_js: lts/* os: linux deploy: provider: npm diff --git a/package.json b/package.json index 49be3b32..2747fd36 100644 --- a/package.json +++ b/package.json @@ -22,8 +22,8 @@ "doc": "jsdoc2md src/index.js > API.md && prettier API.md --write", "dupe-check": "yarn jsinspect ./src", "jest": "jest src --coverage", - "lint": "eslint . --cache --ext js,jsx,ts,tsx", - "prettier": "prettier . --write", + "lint": "eslint . --cache --ext js,jsx,ts,tsx --ignore-path .gitignore", + "prettier": "prettier . --write --ignore-path .gitignore", "test": "yarn lint && yarn test-only", "test-coverage": "cross-env NODE_ENV=test jest --coverage --runInBand", "test-only": "cross-env NODE_ENV=test jest --detectOpenHandles --runInBand"