diff --git a/app/.eslintrc b/app/.eslintrc index 6780c75f..d56722dc 100644 --- a/app/.eslintrc +++ b/app/.eslintrc @@ -22,7 +22,8 @@ "strict": ["error", "global"], "curly": "warn", "quotes": ["warn", "single"], - "indent": ["warn", 4] + "indent": ["warn", 4], + "no-multi-spaces": ["error", {"ignoreEOLComments": true} ] }, "plugins": [ "react" diff --git a/app/src/api/building.js b/app/src/api/building.js index 21a86c25..72e0428c 100644 --- a/app/src/api/building.js +++ b/app/src/api/building.js @@ -282,7 +282,7 @@ function unlikeBuilding(building_id, user_id) { } function privateQueryBuildingBBOX(building_id){ - return db.one( + return db.one( `SELECT ST_XMin(envelope) as xmin, ST_YMin(envelope) as ymin, diff --git a/app/src/frontend/header.js b/app/src/frontend/header.js index 2837521d..4aea0fce 100644 --- a/app/src/frontend/header.js +++ b/app/src/frontend/header.js @@ -28,7 +28,7 @@ class Header extends React.Component {
diff --git a/app/src/frontend/overview.js b/app/src/frontend/overview.js index 87d7c5f6..8d55ee63 100644 --- a/app/src/frontend/overview.js +++ b/app/src/frontend/overview.js @@ -16,7 +16,7 @@ const Overview = (props) => { } let title = (props.mode === 'view')? 'View maps' : 'Add or edit data'; - let back = (props.mode === 'edit')? `/view/${data_layer}.html` : undefined; + let back = (props.mode === 'edit')? `/view/${data_layer}.html` : undefined; return (