Merge pull request #1330 from sharelatex/as-fix-prettier-ignore

Fix linting ignoring index.js files in modules

GitOrigin-RevId: 8ac9fa8f8655553680678b206848d1a66718d821
This commit is contained in:
Brian Gough 2019-01-15 10:45:54 +00:00 committed by sharelatex
parent f1179f0fa7
commit 0879226f74
4 changed files with 7 additions and 3 deletions

View file

@ -1,7 +1,7 @@
app/js
modules/**/app/js
modules/**/scripts
modules/**/index.js
modules/*/index.js
public/js
public/minjs
modules/**/public/js

View file

@ -1,7 +1,7 @@
app/js
modules/**/app/js
modules/**/scripts
modules/**/index.js
modules/*/index.js
public/js
public/minjs
modules/**/public/js

View file

@ -243,6 +243,9 @@ ci:
format:
npm -q run format
format_fix:
npm -q run format:fix
lint:
npm -q run lint

View file

@ -21,7 +21,8 @@
"webpack": "webpack-dev-server --config webpack.config.dev.js",
"webpack:production": "webpack --config webpack.config.prod.js",
"lint": "eslint -f unix .",
"format": "prettier-eslint '**/*.js' --list-different"
"format": "prettier-eslint '**/*.js' --list-different",
"format:fix": "prettier-eslint '**/*.js' --write"
},
"dependencies": {
"archiver": "0.9.0",