From 66b5349b24d304c5556da9e226f45f5e27caa9f0 Mon Sep 17 00:00:00 2001 From: Jon Rohan Date: Mon, 14 Aug 2017 13:47:36 -0700 Subject: [PATCH] browsers not picked up by plugin --- index.js | 10 +++++++++- package.json | 8 -------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/index.js b/index.js index d0ea543f..2066b97d 100644 --- a/index.js +++ b/index.js @@ -268,7 +268,15 @@ module.exports = { "number-leading-zero": "always", "number-no-trailing-zeros": true, "plugin/no-unsupported-browser-features": [true, { - "severity": "warning" + "severity": "warning", + "browsers": [ + "> 5%", + "last 2 firefox versions", + "last 2 chrome versions", + "last 2 safari versions", + "last 2 edge versions", + "ie 11" + ] }], "primer/selector-no-utility": true, "property-case": "lower", diff --git a/package.json b/package.json index 25f7102e..1b06493c 100644 --- a/package.json +++ b/package.json @@ -19,14 +19,6 @@ "stylelint", "css" ], - "browserslist": [ - "> 5%", - "last 2 firefox versions", - "last 2 chrome versions", - "last 2 safari versions", - "last 2 edge versions", - "ie 11" - ], "author": "GitHub, Inc.", "license": "MIT", "bugs": {