fix: reformat forge config and add an escape \ before a dot in a regex

This commit is contained in:
Xymorot 2019-11-20 23:00:16 +01:00
parent 550e65dedb
commit e79a94191e
1 changed files with 6 additions and 3 deletions

View File

@ -1,15 +1,15 @@
const ignoreList = [ const ignoreList = [
/^\/\.idea($|\/)/, /^\/\.idea($|\/)/,
/^\/\.vscode($|\/)/, /^\/\.vscode($|\/)/,
/^\/\.nyc_output($|\/)/, /^\/\.nyc_output($|\/)/,
/^\/database($|\/)/, /^\/database($|\/)/,
/^\/declarations($|\/)/, /^\/declarations($|\/)/,
/^\/mocks($|\/)/, /^\/mocks($|\/)/,
/^\/node_modules\/\.cache($|\/)/,
/^\/src\/.*\.(ts|js\.map)/,
/^\/store($|\/)/, /^\/store($|\/)/,
/^\/templates($|\/)/, /^\/templates($|\/)/,
/^\/tests($|\/)/, /^\/tests($|\/)/,
/^\/\.editorconfig/, /^\/\.editorconfig/,
/^\/\.eslintignore/, /^\/\.eslintignore/,
/^\/\.eslintrc\.json/, /^\/\.eslintrc\.json/,
@ -17,12 +17,15 @@ const ignoreList = [
/^\/\.mocharc\.yml/, /^\/\.mocharc\.yml/,
/^\/\.nycrc\.yml/, /^\/\.nycrc\.yml/,
/^\/\.prettierrc\.yml/, /^\/\.prettierrc\.yml/,
/^\/forge.config\.js/, /^\/forge\.config\.js/,
/^\/gulpfile\.js/, /^\/gulpfile\.js/,
/^\/package-lock\.json/, /^\/package-lock\.json/,
/^\/tsconfig\.json/, /^\/tsconfig\.json/,
/^\/tslint\.json/, /^\/tslint\.json/,
/^\/webpack\.config\.js/, /^\/webpack\.config\.js/,
/^\/node_modules\/\.cache($|\/)/,
/^\/src\/.*\.(ts|js\.map)/,
]; ];
module.exports = { module.exports = {