mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-28 03:23:57 -06:00
Fix lint momory issues
This commit is contained in:
parent
530d7fdd8d
commit
dfecb90036
@ -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",
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,3 @@
|
||||
import { Activity } from './activity'
|
||||
|
||||
export interface ActivityPubOrderedCollection<T> {
|
||||
'@context': string[]
|
||||
type: 'OrderedCollection' | 'OrderedCollectionPage'
|
||||
|
@ -2,4 +2,4 @@ export interface UserLogin {
|
||||
access_token: string
|
||||
refresh_token: string
|
||||
token_type: string
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user