From 7ea52f72847a9c4a6163e9725db6917ffbd9cb5f Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Sat, 18 May 2019 09:55:02 +0200 Subject: [PATCH] Remove superfluous `xo` rules --- index.js | 1 + package.json | 3 --- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/index.js b/index.js index 7d944a4..fe1251d 100644 --- a/index.js +++ b/index.js @@ -49,6 +49,7 @@ var hForS = /EIM|OEK|OLM|OLZ/ var dutchSch = /E[DMNR]|UY|OO/ // Get the phonetics according to the Double Metaphone algorithm from a value. +// eslint-disable-next-line complexity function doubleMetaphone(value) { var primary = '' var secondary = '' diff --git a/package.json b/package.json index 294710f..98cd6d9 100644 --- a/package.json +++ b/package.json @@ -62,9 +62,6 @@ "xo": { "prettier": true, "esnext": false, - "rules": { - "complexity": "off" - }, "ignores": [ "double-metaphone.js" ]