mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-07 20:31:06 -05:00
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:
parent
f1179f0fa7
commit
0879226f74
4 changed files with 7 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
app/js
|
||||
modules/**/app/js
|
||||
modules/**/scripts
|
||||
modules/**/index.js
|
||||
modules/*/index.js
|
||||
public/js
|
||||
public/minjs
|
||||
modules/**/public/js
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
app/js
|
||||
modules/**/app/js
|
||||
modules/**/scripts
|
||||
modules/**/index.js
|
||||
modules/*/index.js
|
||||
public/js
|
||||
public/minjs
|
||||
modules/**/public/js
|
||||
|
|
|
@ -243,6 +243,9 @@ ci:
|
|||
format:
|
||||
npm -q run format
|
||||
|
||||
format_fix:
|
||||
npm -q run format:fix
|
||||
|
||||
lint:
|
||||
npm -q run lint
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue