From 6f34b542b42fad5587bbad8a56f425389dfc2b10 Mon Sep 17 00:00:00 2001 From: David Majda Date: Fri, 7 Oct 2016 14:30:14 +0200 Subject: [PATCH] Code style: Use eslint-config-dmajda ESLint configuration This change leads to quite some errors being reported by ESLint. These will be fixed in subsequent commits. Part of #407. --- .eslintrc.json | 8 +------- package.json | 3 ++- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index f81c96e..ca83e5b 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -1,9 +1,3 @@ { - "extends": "eslint:recommended", - "parserOptions": { - "ecmaVersion": 6 - }, - "rules": { - "no-control-regex": "off" - } + "extends": "dmajda" } diff --git a/package.json b/package.json index 714d3c7..e8a2787 100644 --- a/package.json +++ b/package.json @@ -48,7 +48,8 @@ "babel-preset-es2015": "6.14.0", "babelify": "7.3.0", "browserify": "13.1.0", - "eslint": "3.6.1", + "eslint": "3.7.1", + "eslint-config-dmajda": "1.0.0", "express": "4.14.0", "glob": "7.0.6", "jasmine-node": "1.14.5",