Lint multi-spaces
This commit is contained in:
parent
af9c23d883
commit
aef53a0ae0
@ -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"
|
||||
|
@ -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,
|
||||
|
@ -28,7 +28,7 @@ class Header extends React.Component {
|
||||
<Logo/>
|
||||
</span>
|
||||
<button className="navbar-toggler navbar-toggler-right" type="button"
|
||||
onClick={this.handleClick} aria-expanded="false" aria-label="Toggle navigation">
|
||||
onClick={this.handleClick} aria-expanded="false" aria-label="Toggle navigation">
|
||||
<span className="navbar-toggler-icon"></span>
|
||||
</button>
|
||||
<div className={this.state.collapseMenu ? 'collapse navbar-collapse' : 'navbar-collapse'}>
|
||||
|
@ -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 (
|
||||
<Sidebar title={title} back={back}>
|
||||
|
Loading…
Reference in New Issue
Block a user