From 5ede3e683db1ad763c7d12ea367d7e9c8d2c1a0a Mon Sep 17 00:00:00 2001 From: Andrei Neculau Date: Thu, 5 Mar 2020 21:23:36 +0100 Subject: [PATCH] canonical order for plugin name, then plugin vsn --- configs/jasmine.js | 2 +- configs/jest.js | 2 +- configs/mocha.js | 2 +- configs/protractor.js | 2 +- configs/typescript.js | 2 +- configs/vue.js | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/configs/jasmine.js b/configs/jasmine.js index c62acf1..b3253b4 100644 --- a/configs/jasmine.js +++ b/configs/jasmine.js @@ -1,7 +1,7 @@ // NOTE that this is an addon config. An eslint plugin needs to be installed manually. -let _pluginVsn = '^2.10.1'; let _pluginName = 'eslint-plugin-jasmine'; +let _pluginVsn = '^2.10.1'; let _pluginActualVsn = require(`${_pluginName}/package.json`).version; let _semver = require('semver'); diff --git a/configs/jest.js b/configs/jest.js index f8b3747..e2e1f34 100644 --- a/configs/jest.js +++ b/configs/jest.js @@ -1,7 +1,7 @@ // NOTE that this is an addon config. An eslint plugin needs to be installed manually. -let _pluginVsn = '^22.17.0'; let _pluginName = 'eslint-plugin-jest'; +let _pluginVsn = '^22.17.0'; let _pluginActualVsn = require(`${_pluginName}/package.json`).version; let _semver = require('semver'); diff --git a/configs/mocha.js b/configs/mocha.js index caea9f9..be65c7c 100644 --- a/configs/mocha.js +++ b/configs/mocha.js @@ -1,7 +1,7 @@ // NOTE that this is an addon config. An eslint plugin needs to be installed manually. -let _pluginVsn = '^6.1.1'; let _pluginName = 'eslint-plugin-mocha'; +let _pluginVsn = '^6.1.1'; let _pluginActualVsn = require(`${_pluginName}/package.json`).version; let _semver = require('semver'); diff --git a/configs/protractor.js b/configs/protractor.js index 9aaaca5..bcb0840 100644 --- a/configs/protractor.js +++ b/configs/protractor.js @@ -1,7 +1,7 @@ // NOTE that this is an addon config. An eslint plugin needs to be installed manually. -let _pluginVsn = '^2.1.1'; let _pluginName = 'eslint-plugin-protractor'; +let _pluginVsn = '^2.1.1'; let _pluginActualVsn = require(`${_pluginName}/package.json`).version; let _semver = require('semver'); diff --git a/configs/typescript.js b/configs/typescript.js index cab6555..56104d2 100644 --- a/configs/typescript.js +++ b/configs/typescript.js @@ -1,7 +1,7 @@ // NOTE that this is an addon config. An eslint plugin needs to be installed manually. -let _pluginVsn = '^2.6.0'; let _pluginName = '@typescript-eslint/eslint-plugin'; +let _pluginVsn = '^2.6.0'; let _pluginActualVsn = require(`${_pluginName}/package.json`).version; let _semver = require('semver'); diff --git a/configs/vue.js b/configs/vue.js index 9d8ea9f..a26b794 100644 --- a/configs/vue.js +++ b/configs/vue.js @@ -1,7 +1,7 @@ // NOTE that this is an addon config. An eslint plugin needs to be installed manually. -let _pluginVsn = '^5.2.2'; let _pluginName = 'eslint-plugin-vue'; +let _pluginVsn = '^5.2.2'; let _pluginActualVsn = require(`${_pluginName}/package.json`).version; let _semver = require('semver');