From 04f3ae310d734699902b31b5681ac350e985f55e Mon Sep 17 00:00:00 2001 From: Darren Cadwallader Date: Mon, 2 Dec 2019 10:51:58 +0100 Subject: [PATCH] Removes the long-deprecated eslint config folder, as it generates security warnings for the whole repo (#25) --- linting/eslint-config-bitcrowd/.eslintrc | 4 --- linting/eslint-config-bitcrowd/.gitignore | 1 - linting/eslint-config-bitcrowd/README.md | 5 --- linting/eslint-config-bitcrowd/base.js | 2 -- linting/eslint-config-bitcrowd/index.js | 2 -- linting/eslint-config-bitcrowd/legacy.js | 2 -- linting/eslint-config-bitcrowd/overrides.js | 5 --- linting/eslint-config-bitcrowd/package.json | 36 --------------------- 8 files changed, 57 deletions(-) delete mode 100644 linting/eslint-config-bitcrowd/.eslintrc delete mode 100644 linting/eslint-config-bitcrowd/.gitignore delete mode 100644 linting/eslint-config-bitcrowd/README.md delete mode 100644 linting/eslint-config-bitcrowd/base.js delete mode 100644 linting/eslint-config-bitcrowd/index.js delete mode 100644 linting/eslint-config-bitcrowd/legacy.js delete mode 100644 linting/eslint-config-bitcrowd/overrides.js delete mode 100644 linting/eslint-config-bitcrowd/package.json diff --git a/linting/eslint-config-bitcrowd/.eslintrc b/linting/eslint-config-bitcrowd/.eslintrc deleted file mode 100644 index 6959763..0000000 --- a/linting/eslint-config-bitcrowd/.eslintrc +++ /dev/null @@ -1,4 +0,0 @@ -{ - "extends": "./index.js", - "root": true -} diff --git a/linting/eslint-config-bitcrowd/.gitignore b/linting/eslint-config-bitcrowd/.gitignore deleted file mode 100644 index 3c3629e..0000000 --- a/linting/eslint-config-bitcrowd/.gitignore +++ /dev/null @@ -1 +0,0 @@ -node_modules diff --git a/linting/eslint-config-bitcrowd/README.md b/linting/eslint-config-bitcrowd/README.md deleted file mode 100644 index 98dab66..0000000 --- a/linting/eslint-config-bitcrowd/README.md +++ /dev/null @@ -1,5 +0,0 @@ -# [DEPRECATED] eslint-config-bitcrowd - -The eslint config was moved to [`bitcrowd/javascript`](https://github.com/bitcrowd/javascript). - -The old `eslint-config-bitcrowd` is now available as `eslint-config-bitcrowd-react`. Please use this instead. diff --git a/linting/eslint-config-bitcrowd/base.js b/linting/eslint-config-bitcrowd/base.js deleted file mode 100644 index 92be5ce..0000000 --- a/linting/eslint-config-bitcrowd/base.js +++ /dev/null @@ -1,2 +0,0 @@ -Object.assign = Object.assign || require('object-assign'); -module.exports = Object.assign({ extends: 'airbnb/base' }, require('./overrides')); diff --git a/linting/eslint-config-bitcrowd/index.js b/linting/eslint-config-bitcrowd/index.js deleted file mode 100644 index a4f6605..0000000 --- a/linting/eslint-config-bitcrowd/index.js +++ /dev/null @@ -1,2 +0,0 @@ -Object.assign = Object.assign || require('object-assign'); -module.exports = Object.assign({ extends: 'airbnb' }, require('./overrides')); diff --git a/linting/eslint-config-bitcrowd/legacy.js b/linting/eslint-config-bitcrowd/legacy.js deleted file mode 100644 index 93b59ef..0000000 --- a/linting/eslint-config-bitcrowd/legacy.js +++ /dev/null @@ -1,2 +0,0 @@ -Object.assign = Object.assign || require('object-assign'); -module.exports = Object.assign({ extends: 'airbnb/legacy' }, require('./overrides')); diff --git a/linting/eslint-config-bitcrowd/overrides.js b/linting/eslint-config-bitcrowd/overrides.js deleted file mode 100644 index 6ca8ffd..0000000 --- a/linting/eslint-config-bitcrowd/overrides.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - rules: { - 'comma-dangle': [2, 'never'] - } -}; diff --git a/linting/eslint-config-bitcrowd/package.json b/linting/eslint-config-bitcrowd/package.json deleted file mode 100644 index a15375a..0000000 --- a/linting/eslint-config-bitcrowd/package.json +++ /dev/null @@ -1,36 +0,0 @@ -{ - "name": "eslint-config-bitcrowd", - "version": "0.0.4", - "description": "[DEPRECATED] bitcrowd eslint config", - "main": "index.js", - "scripts": { - "lint": "eslint .", - "test": "npm run --silent lint" - }, - "repository": { - "type": "git", - "url": "git+ssh://git@github.com/bitcrowd/frontend.git" - }, - "keywords": [ - "eslint", - "config", - "bitcrowd", - "javascript", - "styleguide" - ], - "author": "bitcrowd ", - "license": "MIT", - "bugs": { - "url": "https://github.com/bitcrowd/frontend/issues" - }, - "homepage": "https://github.com/bitcrowd/frontend#readme", - "dependencies": { - "eslint-config-airbnb": "~7.0.0", - "object-assign": "^4.0.1" - }, - "devDependencies": { - "eslint": "^2.8.0", - "eslint-plugin-jsx-a11y": "^0.6.2", - "eslint-plugin-react": "^4.3.0" - } -}