mirror of
https://github.com/Xahau/xahau.js.git
synced 2025-11-22 21:25:49 +00:00
build: Initial linting setup (#1560)
* sets up linting config and runs `yarn lint --fix` once, so that all changes will show up correctly in future PRs. * Note that there are still a lot of linter errors.
This commit is contained in:
committed by
Mayukha Vadari
parent
12cfed5c17
commit
8b95ee5fab
@@ -1,15 +1,17 @@
|
||||
const port = 34371
|
||||
import {createMockRippled} from './mockRippled'
|
||||
import { createMockRippled } from "./mockRippled";
|
||||
|
||||
const port = 34371;
|
||||
|
||||
function main() {
|
||||
// @ts-expect-error -- mocha.
|
||||
if (global.describe) {
|
||||
// we are running inside mocha, exiting
|
||||
return
|
||||
return;
|
||||
}
|
||||
console.log('starting server on port ' + port)
|
||||
createMockRippled(port)
|
||||
console.log('starting server on port ' + String(port + 1))
|
||||
createMockRippled(port + 1)
|
||||
console.log(`starting server on port ${port}`);
|
||||
createMockRippled(port);
|
||||
console.log(`starting server on port ${String(port + 1)}`);
|
||||
createMockRippled(port + 1);
|
||||
}
|
||||
|
||||
main()
|
||||
main();
|
||||
|
||||
Reference in New Issue
Block a user