From 31668aab721250ce4dfb761b262b21260ca69880 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Thu, 15 Jul 2021 13:52:24 +0100 Subject: [PATCH 1/7] Add a bunch of rules from `github/github` --- lib/configs/browser.js | 10 ++++- lib/configs/recommended.js | 14 ++++++- package-lock.json | 81 ++++++++++++++++++++++++++++++++++++++ package.json | 2 + 4 files changed, 105 insertions(+), 2 deletions(-) diff --git a/lib/configs/browser.js b/lib/configs/browser.js index c2e5c446..acebee6d 100644 --- a/lib/configs/browser.js +++ b/lib/configs/browser.js @@ -13,6 +13,14 @@ module.exports = { 'github/unescaped-html-literal': 'error', 'github/no-useless-passive': 'error', 'github/require-passive-events': 'error', - 'github/prefer-observers': 'error' + 'github/prefer-observers': 'error', + 'import/no-nodejs-modules': 'error', + 'no-restricted-syntax': [ + 'error', + { + selector: "NewExpression[callee.name='URL'][arguments.length=1]", + message: 'Please pass in `window.location.origin` as the 2nd argument to `new URL()`' + } + ] } } diff --git a/lib/configs/recommended.js b/lib/configs/recommended.js index c164a398..56b10324 100644 --- a/lib/configs/recommended.js +++ b/lib/configs/recommended.js @@ -8,7 +8,7 @@ module.exports = { env: { es6: true }, - plugins: ['github', 'prettier', 'eslint-comments', 'import'], + plugins: ['github', 'prettier', 'eslint-comments', 'import', 'filenames', 'i18n-text'], rules: { 'constructor-super': 'error', 'eslint-comments/disable-enable-pair': 'off', @@ -18,16 +18,20 @@ module.exports = { 'eslint-comments/no-unused-disable': 'error', 'eslint-comments/no-unused-enable': 'error', 'eslint-comments/no-use': ['error', {allow: ['eslint', 'eslint-disable-next-line', 'eslint-env', 'globals']}], + 'filenames/match-regex': ['error', '^[a-z0-9-]+(.d)?$'], 'func-style': ['error', 'declaration', {allowArrowFunctions: true}], 'github/array-foreach': 'error', 'github/no-implicit-buggy-globals': 'error', 'github/no-then': 'error', + 'i18n-text/no-en': ['error'], 'import/default': 'error', 'import/export': 'error', + 'import/extensions': 'error', 'import/first': 'error', 'import/named': 'error', 'import/namespace': 'error', 'import/no-absolute-path': 'error', + 'import/no-amd': 'error', 'import/no-anonymous-default-export': [ 'error', { @@ -39,12 +43,17 @@ module.exports = { allowObject: true } ], + 'import/no-commonjs': 'error', 'import/no-deprecated': 'error', 'import/no-duplicates': 'error', + 'import/no-dynamic-require': 'error', + 'import/no-extraneous-dependencies': [0, {devDependencies: false}], 'import/no-mutable-exports': 'error', 'import/no-named-as-default': 'error', 'import/no-named-as-default-member': 'error', 'import/no-namespace': 'error', + 'import/no-unresolved': 'error', + 'import/no-webpack-loader-syntax': 'error', 'no-case-declarations': 'error', 'no-class-assign': 'error', 'no-compare-neg-zero': 'error', @@ -80,6 +89,7 @@ module.exports = { 'no-regex-spaces': 'error', 'no-return-assign': 'error', 'no-self-assign': 'error', + 'no-sequences': ['error'], 'no-shadow': 'error', 'no-sparse-arrays': 'error', 'no-this-before-super': 'error', @@ -94,6 +104,7 @@ module.exports = { 'no-useless-escape': 'error', 'no-var': 'error', 'object-shorthand': ['error', 'always', {avoidQuotes: true}], + 'one-var': ['error', 'never'], 'prefer-const': 'error', 'prefer-promise-reject-errors': 'error', 'prefer-rest-params': 'error', @@ -101,6 +112,7 @@ module.exports = { 'prefer-template': 'error', 'prettier/prettier': 'error', 'require-yield': 'error', + 'sort-imports': 'error', 'use-isnan': 'error', 'valid-typeof': 'error', camelcase: ['error', {properties: 'always'}], diff --git a/package-lock.json b/package-lock.json index bfdd457b..9a8b6eb1 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,6 +12,8 @@ "@typescript-eslint/parser": "^4.20.0", "eslint-config-prettier": ">=8.0.0", "eslint-plugin-eslint-comments": "^3.2.0", + "eslint-plugin-filenames": "^1.3.2", + "eslint-plugin-i18n-text": "^1.0.1", "eslint-plugin-import": "^2.22.1", "eslint-plugin-prettier": "^3.3.1", "eslint-rule-documentation": ">=1.0.0", @@ -975,6 +977,28 @@ "eslint": ">=5.0.0" } }, + "node_modules/eslint-plugin-filenames": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-filenames/-/eslint-plugin-filenames-1.3.2.tgz", + "integrity": "sha512-tqxJTiEM5a0JmRCUYQmxw23vtTxrb2+a3Q2mMOPhFxvt7ZQQJmdiuMby9B/vUAuVMghyP7oET+nIf6EO6CBd/w==", + "dependencies": { + "lodash.camelcase": "4.3.0", + "lodash.kebabcase": "4.1.1", + "lodash.snakecase": "4.1.1", + "lodash.upperfirst": "4.3.1" + }, + "peerDependencies": { + "eslint": "*" + } + }, + "node_modules/eslint-plugin-i18n-text": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-i18n-text/-/eslint-plugin-i18n-text-1.0.1.tgz", + "integrity": "sha512-3G3UetST6rdqhqW9SfcfzNYMpQXS7wNkJvp6dsXnjzGiku6Iu5hl3B0kmk6lIcFPwYjhQIY+tXVRtK9TlGT7RA==", + "peerDependencies": { + "eslint": ">=5.0.0" + } + }, "node_modules/eslint-plugin-import": { "version": "2.22.1", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz", @@ -1763,6 +1787,11 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, + "node_modules/lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, "node_modules/lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -1773,11 +1802,26 @@ "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" }, + "node_modules/lodash.kebabcase": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", + "integrity": "sha1-hImxyw0p/4gZXM7KRI/21swpXDY=" + }, + "node_modules/lodash.snakecase": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", + "integrity": "sha1-OdcUo1NXFHg3rv1ktdy7Fr7Nj40=" + }, "node_modules/lodash.truncate": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=" }, + "node_modules/lodash.upperfirst": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz", + "integrity": "sha1-E2Xt9DFIBIHvDRxolXpe2Z1J984=" + }, "node_modules/log-symbols": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", @@ -3870,6 +3914,23 @@ "dev": true, "requires": {} }, + "eslint-plugin-filenames": { + "version": "1.3.2", + "resolved": "https://registry.npmjs.org/eslint-plugin-filenames/-/eslint-plugin-filenames-1.3.2.tgz", + "integrity": "sha512-tqxJTiEM5a0JmRCUYQmxw23vtTxrb2+a3Q2mMOPhFxvt7ZQQJmdiuMby9B/vUAuVMghyP7oET+nIf6EO6CBd/w==", + "requires": { + "lodash.camelcase": "4.3.0", + "lodash.kebabcase": "4.1.1", + "lodash.snakecase": "4.1.1", + "lodash.upperfirst": "4.3.1" + } + }, + "eslint-plugin-i18n-text": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/eslint-plugin-i18n-text/-/eslint-plugin-i18n-text-1.0.1.tgz", + "integrity": "sha512-3G3UetST6rdqhqW9SfcfzNYMpQXS7wNkJvp6dsXnjzGiku6Iu5hl3B0kmk6lIcFPwYjhQIY+tXVRtK9TlGT7RA==", + "requires": {} + }, "eslint-plugin-import": { "version": "2.22.1", "resolved": "https://registry.npmjs.org/eslint-plugin-import/-/eslint-plugin-import-2.22.1.tgz", @@ -4414,6 +4475,11 @@ "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, + "lodash.camelcase": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", + "integrity": "sha1-soqmKIorn8ZRA1x3EfZathkDMaY=" + }, "lodash.clonedeep": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/lodash.clonedeep/-/lodash.clonedeep-4.5.0.tgz", @@ -4424,11 +4490,26 @@ "resolved": "https://registry.npmjs.org/lodash.flatten/-/lodash.flatten-4.4.0.tgz", "integrity": "sha1-8xwiIlqWMtK7+OSt2+8kCqdlph8=" }, + "lodash.kebabcase": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.kebabcase/-/lodash.kebabcase-4.1.1.tgz", + "integrity": "sha1-hImxyw0p/4gZXM7KRI/21swpXDY=" + }, + "lodash.snakecase": { + "version": "4.1.1", + "resolved": "https://registry.npmjs.org/lodash.snakecase/-/lodash.snakecase-4.1.1.tgz", + "integrity": "sha1-OdcUo1NXFHg3rv1ktdy7Fr7Nj40=" + }, "lodash.truncate": { "version": "4.4.2", "resolved": "https://registry.npmjs.org/lodash.truncate/-/lodash.truncate-4.4.2.tgz", "integrity": "sha1-WjUNoLERO4N+z//VgSy+WNbq4ZM=" }, + "lodash.upperfirst": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/lodash.upperfirst/-/lodash.upperfirst-4.3.1.tgz", + "integrity": "sha1-E2Xt9DFIBIHvDRxolXpe2Z1J984=" + }, "log-symbols": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/log-symbols/-/log-symbols-4.0.0.tgz", diff --git a/package.json b/package.json index a46edc2d..c85ed656 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,8 @@ "@typescript-eslint/parser": "^4.20.0", "eslint-config-prettier": ">=8.0.0", "eslint-plugin-eslint-comments": "^3.2.0", + "eslint-plugin-filenames": "^1.3.2", + "eslint-plugin-i18n-text": "^1.0.1", "eslint-plugin-import": "^2.22.1", "eslint-plugin-prettier": "^3.3.1", "eslint-rule-documentation": ">=1.0.0", From 27a84c3a6f9b744b0672e761e93183ab74c5f8e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Thu, 15 Jul 2021 13:52:44 +0100 Subject: [PATCH 2/7] Ignore some rules in the project itself --- .eslintrc.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.eslintrc.js b/.eslintrc.js index 744c5e61..4f7ea4cb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -10,6 +10,9 @@ module.exports = { extends: [require.resolve('./lib/configs/recommended'), 'plugin:eslint-plugin/all'], plugins: ['eslint-plugin'], rules: { + 'import/no-commonjs': 'off', + 'filenames/match-regex': 'off', + 'i18n-text/no-en': 'off', 'eslint-plugin/prefer-placeholders': 'off', 'eslint-plugin/test-case-shorthand-strings': 'off', 'eslint-plugin/require-meta-docs-url': 'off' From 24ea366378a50fc9c1f044412863f09cbd507224 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20N=C3=BA=C3=B1ez?= Date: Mon, 9 Aug 2021 10:09:10 +0000 Subject: [PATCH 3/7] Add no-only-tests JS linter rule to detect test.only and suite.only --- .eslintrc.js | 10 ++++++++-- package-lock.json | 16 ++++++++++++++++ package.json | 1 + 3 files changed, 25 insertions(+), 2 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 4f7ea4cb..cdecd440 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -8,13 +8,19 @@ module.exports = { node: true }, extends: [require.resolve('./lib/configs/recommended'), 'plugin:eslint-plugin/all'], - plugins: ['eslint-plugin'], + plugins: ['eslint-plugin', 'no-only-tests'], rules: { 'import/no-commonjs': 'off', 'filenames/match-regex': 'off', 'i18n-text/no-en': 'off', 'eslint-plugin/prefer-placeholders': 'off', 'eslint-plugin/test-case-shorthand-strings': 'off', - 'eslint-plugin/require-meta-docs-url': 'off' + 'eslint-plugin/require-meta-docs-url': 'off', + 'no-only-tests/no-only-tests': [ + 'error', + { + 'block': ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'] + } + ] } } diff --git a/package-lock.json b/package-lock.json index 2f5fb9f6..4d7e9039 100644 --- a/package-lock.json +++ b/package-lock.json @@ -27,6 +27,7 @@ "@github/prettier-config": "0.0.4", "eslint": "7.23.0", "eslint-plugin-eslint-plugin": "^2.3.0", + "eslint-plugin-no-only-tests": "^2.6.0", "eslint-visitor-keys": "^2.0.0", "globals": "^13.7.0", "mocha": "^8.3.2" @@ -1050,6 +1051,15 @@ "resolved": "https://registry.npmjs.org/ms/-/ms-2.0.0.tgz", "integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g=" }, + "node_modules/eslint-plugin-no-only-tests": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.6.0.tgz", + "integrity": "sha512-T9SmE/g6UV1uZo1oHAqOvL86XWl7Pl2EpRpnLI8g/bkJu+h7XBCB+1LnubRZ2CUQXj805vh4/CYZdnqtVaEo2Q==", + "dev": true, + "engines": { + "node": ">=4.0.0" + } + }, "node_modules/eslint-plugin-prettier": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.1.tgz", @@ -3975,6 +3985,12 @@ } } }, + "eslint-plugin-no-only-tests": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.6.0.tgz", + "integrity": "sha512-T9SmE/g6UV1uZo1oHAqOvL86XWl7Pl2EpRpnLI8g/bkJu+h7XBCB+1LnubRZ2CUQXj805vh4/CYZdnqtVaEo2Q==", + "dev": true + }, "eslint-plugin-prettier": { "version": "3.3.1", "resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.3.1.tgz", diff --git a/package.json b/package.json index 5d22076f..96a55c38 100644 --- a/package.json +++ b/package.json @@ -49,6 +49,7 @@ "@github/prettier-config": "0.0.4", "eslint": "7.23.0", "eslint-plugin-eslint-plugin": "^2.3.0", + "eslint-plugin-no-only-tests": "^2.6.0", "eslint-visitor-keys": "^2.0.0", "globals": "^13.7.0", "mocha": "^8.3.2" From 49b05643c3d8eb2d06476db1cec26e1767b63b83 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20N=C3=BA=C3=B1ez?= Date: Mon, 9 Aug 2021 10:15:25 +0000 Subject: [PATCH 4/7] Linter fix. --- .eslintrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.eslintrc.js b/.eslintrc.js index cdecd440..1bdf5022 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -19,7 +19,7 @@ module.exports = { 'no-only-tests/no-only-tests': [ 'error', { - 'block': ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'] + block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'] } ] } From 9c94c7278d3382fa758aa7751fdda4be176b73bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20N=C3=BA=C3=B1ez?= Date: Mon, 9 Aug 2021 12:18:55 +0000 Subject: [PATCH 5/7] Add to recommended rules, not to this own project linter rules. --- .eslintrc.js | 10 ++-------- lib/configs/recommended.js | 8 +++++++- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 1bdf5022..4f7ea4cb 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -8,19 +8,13 @@ module.exports = { node: true }, extends: [require.resolve('./lib/configs/recommended'), 'plugin:eslint-plugin/all'], - plugins: ['eslint-plugin', 'no-only-tests'], + plugins: ['eslint-plugin'], rules: { 'import/no-commonjs': 'off', 'filenames/match-regex': 'off', 'i18n-text/no-en': 'off', 'eslint-plugin/prefer-placeholders': 'off', 'eslint-plugin/test-case-shorthand-strings': 'off', - 'eslint-plugin/require-meta-docs-url': 'off', - 'no-only-tests/no-only-tests': [ - 'error', - { - block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'] - } - ] + 'eslint-plugin/require-meta-docs-url': 'off' } } diff --git a/lib/configs/recommended.js b/lib/configs/recommended.js index 56b10324..3797544d 100644 --- a/lib/configs/recommended.js +++ b/lib/configs/recommended.js @@ -8,7 +8,7 @@ module.exports = { env: { es6: true }, - plugins: ['github', 'prettier', 'eslint-comments', 'import', 'filenames', 'i18n-text'], + plugins: ['github', 'prettier', 'eslint-comments', 'import', 'filenames', 'i18n-text', 'no-only-tests'], rules: { 'constructor-super': 'error', 'eslint-comments/disable-enable-pair': 'off', @@ -85,6 +85,12 @@ module.exports = { 'no-new-symbol': 'error', 'no-obj-calls': 'error', 'no-octal': 'error', + 'no-only-tests/no-only-tests': [ + 'error', + { + block: ['describe', 'it', 'context', 'test', 'tape', 'fixture', 'serial', 'suite'] + } + ], 'no-redeclare': 'error', 'no-regex-spaces': 'error', 'no-return-assign': 'error', From fd8d5fb5f98d05cc548eb22de0613565ec3f59e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pablo=20N=C3=BA=C3=B1ez?= Date: Mon, 9 Aug 2021 12:22:05 +0000 Subject: [PATCH 6/7] Move package to normal dependency (no dev). --- package-lock.json | 6 ++---- package.json | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4d7e9039..fd0afca5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -15,6 +15,7 @@ "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-i18n-text": "^1.0.1", "eslint-plugin-import": "^2.22.1", + "eslint-plugin-no-only-tests": "^2.6.0", "eslint-plugin-prettier": "^3.3.1", "eslint-rule-documentation": ">=1.0.0", "prettier": "^2.2.1", @@ -27,7 +28,6 @@ "@github/prettier-config": "0.0.4", "eslint": "7.23.0", "eslint-plugin-eslint-plugin": "^2.3.0", - "eslint-plugin-no-only-tests": "^2.6.0", "eslint-visitor-keys": "^2.0.0", "globals": "^13.7.0", "mocha": "^8.3.2" @@ -1055,7 +1055,6 @@ "version": "2.6.0", "resolved": "https://registry.npmjs.org/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.6.0.tgz", "integrity": "sha512-T9SmE/g6UV1uZo1oHAqOvL86XWl7Pl2EpRpnLI8g/bkJu+h7XBCB+1LnubRZ2CUQXj805vh4/CYZdnqtVaEo2Q==", - "dev": true, "engines": { "node": ">=4.0.0" } @@ -3988,8 +3987,7 @@ "eslint-plugin-no-only-tests": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/eslint-plugin-no-only-tests/-/eslint-plugin-no-only-tests-2.6.0.tgz", - "integrity": "sha512-T9SmE/g6UV1uZo1oHAqOvL86XWl7Pl2EpRpnLI8g/bkJu+h7XBCB+1LnubRZ2CUQXj805vh4/CYZdnqtVaEo2Q==", - "dev": true + "integrity": "sha512-T9SmE/g6UV1uZo1oHAqOvL86XWl7Pl2EpRpnLI8g/bkJu+h7XBCB+1LnubRZ2CUQXj805vh4/CYZdnqtVaEo2Q==" }, "eslint-plugin-prettier": { "version": "3.3.1", diff --git a/package.json b/package.json index 96a55c38..5f8d7985 100644 --- a/package.json +++ b/package.json @@ -32,6 +32,7 @@ "eslint-plugin-filenames": "^1.3.2", "eslint-plugin-i18n-text": "^1.0.1", "eslint-plugin-import": "^2.22.1", + "eslint-plugin-no-only-tests": "^2.6.0", "eslint-plugin-prettier": "^3.3.1", "eslint-rule-documentation": ">=1.0.0", "prettier": "^2.2.1", @@ -49,7 +50,6 @@ "@github/prettier-config": "0.0.4", "eslint": "7.23.0", "eslint-plugin-eslint-plugin": "^2.3.0", - "eslint-plugin-no-only-tests": "^2.6.0", "eslint-visitor-keys": "^2.0.0", "globals": "^13.7.0", "mocha": "^8.3.2" From a8ec7ad42ce6111df6d8be08abf50a3a455d85c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristj=C3=A1n=20Oddsson?= Date: Wed, 11 Aug 2021 11:12:16 +0100 Subject: [PATCH 7/7] 4.2.0 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index fd0afca5..67cfa5ab 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { "name": "eslint-plugin-github", - "version": "4.1.5", + "version": "4.2.0", "lockfileVersion": 2, "requires": true, "packages": { "": { - "version": "4.1.5", + "version": "4.2.0", "license": "MIT", "dependencies": { "@typescript-eslint/eslint-plugin": "^4.20.0", diff --git a/package.json b/package.json index 5f8d7985..884a5bb1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-plugin-github", - "version": "4.1.5", + "version": "4.2.0", "description": "An opinionated collection of ESLint shared configs and rules used by GitHub.", "main": "lib/index.js", "entries": [