From 3dc5a08d8faa706d282262307297d176da4c0136 Mon Sep 17 00:00:00 2001 From: "Andrei Neculau (anu)" Date: Wed, 14 Mar 2018 12:57:07 +0100 Subject: [PATCH] remove eslint-plugin-babel --- browser.js | 1 - configs/babel.js | 20 -------------------- node.js | 1 - package.json | 1 - 4 files changed, 23 deletions(-) delete mode 100644 configs/babel.js diff --git a/browser.js b/browser.js index ff643ac..cabcf67 100644 --- a/browser.js +++ b/browser.js @@ -1,7 +1,6 @@ module.exports = { extends: [ './configs/basic.js', - './configs/babel.js', './configs/better.js', './configs/async-await.js', './configs/dependencies.js', diff --git a/configs/babel.js b/configs/babel.js deleted file mode 100644 index 90ad0e8..0000000 --- a/configs/babel.js +++ /dev/null @@ -1,20 +0,0 @@ -module.exports = { - plugins: [ - 'babel' - ], - - parser: 'babel-eslint', - - parserOptions: { - sourceType: 'module' - }, - - rules: { - 'babel/new-cap': 'error', - 'babel/object-curly-spacing': 'error', - 'babel/semi': 'error', - 'new-cap': 'off', - 'object-curly-spacing': 'off', - semi: 'error' // why not off? - } -}; diff --git a/node.js b/node.js index 7442533..82af7f7 100644 --- a/node.js +++ b/node.js @@ -1,7 +1,6 @@ module.exports = { extends: [ './configs/basic.js', - './configs/babel.js', './configs/better.js', './configs/async-await.js', './configs/dependencies.js', diff --git a/package.json b/package.json index 9adc84e..056a0de 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,6 @@ "babel-eslint": "^7.2.3", "eslint": "^4.18.2", "eslint-plugin-async-await": "^0.0.0", - "eslint-plugin-babel": "^4.1.2", "eslint-plugin-better": "^0.1.5", "eslint-plugin-dependencies": "^2.4.0", "eslint-plugin-fp": "^2.3.0",