From 6c84453395308e69675267306b206d56a96d7051 Mon Sep 17 00:00:00 2001 From: "Andrei Neculau (anu)" Date: Wed, 14 Mar 2018 13:14:32 +0100 Subject: [PATCH] remove no-ide and max-len-2 --- browser.js | 5 ++--- configs/max-len-2.js | 13 ------------- no-ide.js | 22 ---------------------- node.js | 5 ++--- package.json | 1 - 5 files changed, 4 insertions(+), 42 deletions(-) delete mode 100644 configs/max-len-2.js delete mode 100644 no-ide.js diff --git a/browser.js b/browser.js index cabcf67..c896781 100644 --- a/browser.js +++ b/browser.js @@ -9,8 +9,7 @@ module.exports = { './configs/import.js', './configs/lodash.js', './configs/no-null.js', - './configs/max-len-2.js', - './configs/browser.js', - './no-ide.js' // REMOVE after https://github.com/eslint/eslint/issues/7549 + + './configs/browser.js' ] }; diff --git a/configs/max-len-2.js b/configs/max-len-2.js deleted file mode 100644 index 55921d6..0000000 --- a/configs/max-len-2.js +++ /dev/null @@ -1,13 +0,0 @@ -module.exports = { - plugins: [ - 'max-len-2' - ], - - rules: { - 'max-len-2/max-len-2': ['warn', { - code: 80, - ignoreComments: true, - ignoreUrls: true - }] - } -}; diff --git a/no-ide.js b/no-ide.js deleted file mode 100644 index 7ceb48f..0000000 --- a/no-ide.js +++ /dev/null @@ -1,22 +0,0 @@ -// NOTE: these rules turn off IDE indicators - -module.exports = { - rules: { - 'max-len-2/max-len-2': 'off', - 'max-params': 'off', - 'object-curly-newline': ['error', { - ObjectExpression: { - multiline: true, - minProperties: 0, // aka disable - consistent: true - }, - ObjectPattern: { - multiline: true, - minProperties: 0, // aka disable - consistent: true - }, - ImportDeclaration: 'always', - ExportDeclaration: 'always' - }] - } -} diff --git a/node.js b/node.js index 82af7f7..0304a10 100644 --- a/node.js +++ b/node.js @@ -9,8 +9,7 @@ module.exports = { './configs/import.js', './configs/lodash.js', './configs/no-null.js', - './configs/max-len-2.js', - './configs/node.js', - './no-ide.js' // REMOVE after https://github.com/eslint/eslint/issues/7549 + + './configs/node.js' ] }; diff --git a/package.json b/package.json index 056a0de..733ea25 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,6 @@ "eslint-plugin-jest": "^21.13.0", "eslint-plugin-lodash": "^2.6.1", "eslint-plugin-mocha": "^4.12.1", - "eslint-plugin-max-len-2": "^0.0.5", "eslint-plugin-no-null": "^1.0.2", "eslint-plugin-firecloud": "git://github.com/tobiipro/eslint-plugin-firecloud.git#semver:~0.1.0" },