Fix lint momory issues

pull/333/head
Chocobozzz 2018-03-08 17:31:11 +01:00
parent 530d7fdd8d
commit dfecb90036
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
5 changed files with 4 additions and 5 deletions

View File

@ -6,7 +6,7 @@
"eofline": true,
"max-line-length": [true, 140],
"no-floating-promises": false,
"no-unused-variable": false, // Bug, wait TypeScript 2.4
"no-unused-variable": false, // Memory issues
"member-ordering": [true,
"public-before-private",
"static-before-instance",

View File

@ -25,5 +25,5 @@ elif [ "$1" = "lint" ]; then
npm run lint || exit -1
cd .. || exit -1
npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" || exit -1
npm run tslint -- --project ./tsconfig.json -c ./tslint.json server.ts "server/**/*.ts" "shared/**/*.ts" || exit -1
fi

View File

@ -1,5 +1,3 @@
import { Activity } from './activity'
export interface ActivityPubOrderedCollection<T> {
'@context': string[]
type: 'OrderedCollection' | 'OrderedCollectionPage'

View File

@ -2,4 +2,4 @@ export interface UserLogin {
access_token: string
refresh_token: string
token_type: string
}
}

View File

@ -7,6 +7,7 @@
"indent": ["spaces"],
"ter-indent": [true, 2],
"max-line-length": [true, 140],
"no-unused-variable": false, // Memory issues
"no-floating-promises": false
}
}