From 62aa2258545faa98582642da54a0cede8bdce08e Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Tue, 26 May 2020 15:48:03 +0000 Subject: [PATCH 1/3] build(deps-dev): bump eslint from 2.13.1 to 7.1.0 Bumps [eslint](https://github.com/eslint/eslint) from 2.13.1 to 7.1.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v2.13.1...v7.1.0) Signed-off-by: dependabot-preview[bot] --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 51cb376..0242b2f 100644 --- a/package.json +++ b/package.json @@ -42,7 +42,7 @@ "devDependencies": { "ajv-keywords": "^3.2.0", "coveralls": "^3.0.0", - "eslint": "^2.4.0", + "eslint": "^7.1.0", "mocha": "^5.2.0", "nyc": "^15.0.1", "pre-commit": "^1.2.0" From 7bfb6324c2ec7a0df4b4461514fa5764c6b81907 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Tue, 26 May 2020 16:53:11 +0100 Subject: [PATCH 2/3] update node versions --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9e04b94..a65eb46 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,9 +2,10 @@ language: node_js before_script: - npm install -g codeclimate-test-reporter node_js: - - "8" - "10" - "12" + - "13" + - "14" after_script: - codeclimate-test-reporter < coverage/lcov.info - coveralls < coverage/lcov.info From baaafd137fcb11ee4585f747fdd7460854c72d32 Mon Sep 17 00:00:00 2001 From: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com> Date: Tue, 26 May 2020 16:55:49 +0100 Subject: [PATCH 3/3] switch to eslint indent-legacy --- .eslintrc.yml | 2 +- .gitignore | 1 + test/.eslintrc.yml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.eslintrc.yml b/.eslintrc.yml index e07345c..0b62021 100644 --- a/.eslintrc.yml +++ b/.eslintrc.yml @@ -3,7 +3,7 @@ env: node: true extends: 'eslint:recommended' rules: - indent: [2, 4, { SwitchCase : 1 } ] + indent-legacy: [2, 4, { SwitchCase : 1 } ] no-trailing-spaces: 2 quotes: [ 2, single, avoid-escape ] linebreak-style: [ 2, unix ] diff --git a/.gitignore b/.gitignore index 4d48067..44d8891 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ coverage node_modules .DS_Store +package-lock.json diff --git a/test/.eslintrc.yml b/test/.eslintrc.yml index bd27b67..73977cc 100644 --- a/test/.eslintrc.yml +++ b/test/.eslintrc.yml @@ -1,6 +1,6 @@ --- rules: - indent: [2, 2, { SwitchCase : 1 } ] + indent-legacy: [2, 2, { SwitchCase : 1 } ] no-invalid-this: 0 no-empty: [2, allowEmptyCatch: true]