From 2151bdc32447959bb65c5e10cb3f91f2291e0fbc Mon Sep 17 00:00:00 2001 From: Dmitrii Sorin Date: Sun, 23 Jun 2019 08:52:38 +1000 Subject: [PATCH 1/2] Run tests on Windows --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index d2d0230..3cd9f74 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,6 +6,7 @@ node_js: os: - linux - osx + - windows before_install: npm install -g greenkeeper-lockfile install: npm install before_script: greenkeeper-lockfile-update From bf210b8ca43bb361aa07e5f08f195fd22d757d3a Mon Sep 17 00:00:00 2001 From: Dmitrii Sorin Date: Sun, 23 Jun 2019 11:40:37 +1000 Subject: [PATCH 2/2] Do not fail the build if linebreak is wrong - editorconfig is enough --- src/.eslintrc.js | 1 + test/.eslintrc.js | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/.eslintrc.js b/src/.eslintrc.js index 40f6578..ffe9c4b 100644 --- a/src/.eslintrc.js +++ b/src/.eslintrc.js @@ -16,5 +16,6 @@ module.exports = { '@typescript-eslint/indent': ['error', 2], '@typescript-eslint/explicit-function-return-type': 'off', '@typescript-eslint/explicit-member-accessibility': ['error', { accessibility: 'no-public' }], + 'linebreak-style': 'off', }, }; diff --git a/test/.eslintrc.js b/test/.eslintrc.js index 3ffa456..cf784f6 100644 --- a/test/.eslintrc.js +++ b/test/.eslintrc.js @@ -14,10 +14,7 @@ module.exports = { "error", 4 ], - "linebreak-style": [ - "error", - "unix" - ], + "linebreak-style": "off", "quotes": [ "error", "single"