lint: add .eslintignore

This commit is contained in:
alxshelepenok 2019-05-09 22:08:42 +03:00
parent 1b04d2ade5
commit add08f7ee6
2 changed files with 4 additions and 1 deletions

3
.eslintignore Normal file
View File

@ -0,0 +1,3 @@
/flow-typed/*
/public/*
/node_modules/*

View File

@ -10,7 +10,7 @@
"clean": "rimraf .cache public",
"flow": "flow",
"flow-typed": "flow-typed install --overwrite",
"lint:js": "eslint --cache --ext .js,.jsx --ignore-pattern flow-typed public .",
"lint:js": "eslint --cache --ext .js,.jsx .",
"lint:scss": "stylelint \"src/**/*.scss\"",
"lint": "concurrently \"yarn run lint:js\" \"yarn run lint:scss\" \"yarn flow\"",
"test": "jest --config ./jest/jest-config.js",