From e161dcabacbe520ccf8234d9a40bfa01a2d686b9 Mon Sep 17 00:00:00 2001 From: Andrew Duthie Date: Fri, 24 Mar 2017 10:44:21 -0400 Subject: [PATCH] Lint top-level directory Ensures errors in e.g. webpack.config.js are flagged --- .eslintignore | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.eslintignore b/.eslintignore index 378eac25d3117..ba2bd1dddf6cf 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1 +1,2 @@ build +docs diff --git a/package.json b/package.json index d72d4786dbffa..9f2aeeee53482 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "scripts": { "test-unit": "cross-env NODE_ENV=test webpack && mocha build --require bootstrap-test.js", "build": "cross-env NODE_ENV=production webpack", - "lint": "eslint editor blocks element", + "lint": "eslint .", "dev": "webpack --watch", "test": "npm run lint && npm run test-unit" },