Merge pull request #100 from overleaf/spd-prettierfix

Fix prettier task
This commit is contained in:
Simon Detheridge
2020-03-04 09:58:35 +00:00
committed by GitHub
8 changed files with 10 additions and 11 deletions
+2 -3
View File
@@ -1,7 +1,7 @@
// this file was auto-generated, do not edit it directly. // this file was auto-generated, do not edit it directly.
// instead run bin/update_build_scripts from // instead run bin/update_build_scripts from
// https://github.com/sharelatex/sharelatex-dev-environment // https://github.com/sharelatex/sharelatex-dev-environment
// Version: 1.3.5 // Version: 1.3.6
{ {
"extends": [ "extends": [
"standard", "standard",
@@ -23,8 +23,7 @@
"rules": { "rules": {
// Swap the no-unused-expressions rule with a more chai-friendly one // Swap the no-unused-expressions rule with a more chai-friendly one
"no-unused-expressions": 0, "no-unused-expressions": 0,
"chai-friendly/no-unused-expressions": "error", "chai-friendly/no-unused-expressions": "error"
"no-console": "error"
}, },
"overrides": [ "overrides": [
{ {
+1 -1
View File
@@ -1,7 +1,7 @@
# This file was auto-generated, do not edit it directly. # This file was auto-generated, do not edit it directly.
# Instead run bin/update_build_scripts from # Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment # https://github.com/sharelatex/sharelatex-dev-environment
# Version: 1.3.5 # Version: 1.3.6
{ {
"semi": false, "semi": false,
"singleQuote": true "singleQuote": true
+1 -1
View File
@@ -1,7 +1,7 @@
# This file was auto-generated, do not edit it directly. # This file was auto-generated, do not edit it directly.
# Instead run bin/update_build_scripts from # Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment # https://github.com/sharelatex/sharelatex-dev-environment
# Version: 1.3.5 # Version: 1.3.6
FROM node:10.19.0 as base FROM node:10.19.0 as base
+1 -1
View File
@@ -1,7 +1,7 @@
# This file was auto-generated, do not edit it directly. # This file was auto-generated, do not edit it directly.
# Instead run bin/update_build_scripts from # Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment # https://github.com/sharelatex/sharelatex-dev-environment
# Version: 1.3.5 # Version: 1.3.6
BUILD_NUMBER ?= local BUILD_NUMBER ?= local
BRANCH_NAME ?= $(shell git rev-parse --abbrev-ref HEAD) BRANCH_NAME ?= $(shell git rev-parse --abbrev-ref HEAD)
+1 -1
View File
@@ -8,4 +8,4 @@ filestore
--docker-repos=gcr.io/overleaf-ops --docker-repos=gcr.io/overleaf-ops
--env-pass-through= --env-pass-through=
--data-dirs=uploads,user_files,template_files --data-dirs=uploads,user_files,template_files
--script-version=1.3.5 --script-version=1.3.6
+1 -1
View File
@@ -1,7 +1,7 @@
# This file was auto-generated, do not edit it directly. # This file was auto-generated, do not edit it directly.
# Instead run bin/update_build_scripts from # Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment # https://github.com/sharelatex/sharelatex-dev-environment
# Version: 1.3.5 # Version: 1.3.6
version: "2.3" version: "2.3"
+1 -1
View File
@@ -1,7 +1,7 @@
# This file was auto-generated, do not edit it directly. # This file was auto-generated, do not edit it directly.
# Instead run bin/update_build_scripts from # Instead run bin/update_build_scripts from
# https://github.com/sharelatex/sharelatex-dev-environment # https://github.com/sharelatex/sharelatex-dev-environment
# Version: 1.3.5 # Version: 1.3.6
version: "2.3" version: "2.3"
+2 -2
View File
@@ -14,8 +14,8 @@
"start": "node $NODE_APP_OPTIONS app.js", "start": "node $NODE_APP_OPTIONS app.js",
"nodemon": "nodemon --config nodemon.json", "nodemon": "nodemon --config nodemon.json",
"lint": "node_modules/.bin/eslint .", "lint": "node_modules/.bin/eslint .",
"format": "node_modules/.bin/prettier-eslint '**/*.js' --list-different", "format": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --list-different",
"format:fix": "node_modules/.bin/prettier-eslint '**/*.js' --write", "format:fix": "node_modules/.bin/prettier-eslint $PWD'/**/*.js' --write",
"test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js", "test:acceptance:_run": "mocha --recursive --reporter spec --timeout 15000 --exit $@ test/acceptance/js",
"test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js" "test:unit:_run": "mocha --recursive --reporter spec $@ test/unit/js"
}, },