Improve ESLint ignore rules

Apparently, using unqualified `/**` patterns prevents `!` include patterns.
Using qualified glob patterns, e.g. `js/models/**/*.js`, lets us work around this.
This commit is contained in:
Daniel Gasienica 2018-02-13 08:48:07 -05:00
parent 255e0ab15b
commit 96641205f7
1 changed files with 9 additions and 7 deletions

View File

@ -5,13 +5,15 @@ dist/**
libtextsecure/**
# these aren't ready yet, pulling files in one-by-one
js/**
test/**
js/*.js
js/models/**/*.js
js/react/**/*.js
js/views/**/*.js
test/*.js
test/models/*.js
test/views/*.js
/*.js
# ES2015+ files
!main.js
!prepare_build.js
# all of these files will be new
!test/server/**/*.js
# all of app/ is included