From 277721c27e1acf2ec0a705d13d0b50f4b64b29e1 Mon Sep 17 00:00:00 2001 From: HeskeyBaozi Date: Sat, 1 Sep 2018 17:14:22 +0800 Subject: [PATCH] fix npm run lint --- .eslintignore | 4 ++++ .gitignore | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/.eslintignore b/.eslintignore index 46af31df91..c2b73d4595 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,3 +4,7 @@ components/*/__tests__/type.tsx !components/*/__tests__/**/*.js !components/*/demo/* !.*.js + +# Docs templates +site/theme/template/IconDisplay/*.js +site/theme/template/IconDisplay/*.jsx diff --git a/.gitignore b/.gitignore index 32d99b1d80..10913cedf7 100644 --- a/.gitignore +++ b/.gitignore @@ -38,3 +38,7 @@ components/**/*.jsx !components/**/__tests__/*.js !components/**/__tests__/*.js.snap /.history + +# Docs templates +site/theme/template/IconDisplay/*.js +site/theme/template/IconDisplay/*.jsx