mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 01:28:55 +00:00
style(client): format the ratchet scripts with Prettier
The checker scripts were written without semicolons, against the semi: true in .prettierrc, so every one of them failed the formatting rule lint:format enforces on src/ and tests/. This is prettier --write over the scripts this branch added or rewrote, nothing else.
This commit is contained in:
@@ -17,9 +17,9 @@
|
||||
* npm run lint:skips -- --update lower the baseline to what the files hold now;
|
||||
* it never raises an entry
|
||||
*/
|
||||
import { fileURLToPath } from 'node:url'
|
||||
import { runCli } from './lib/ratchet.mjs'
|
||||
import { check } from './lib/skips.mjs'
|
||||
import { fileURLToPath } from 'node:url';
|
||||
import { runCli } from './lib/ratchet.mjs';
|
||||
import { check } from './lib/skips.mjs';
|
||||
|
||||
const root = fileURLToPath(new URL('..', import.meta.url))
|
||||
await runCli('lint:skips', (args) => check({ root, update: args.includes('--update') }))
|
||||
const root = fileURLToPath(new URL('..', import.meta.url));
|
||||
await runCli('lint:skips', (args) => check({ root, update: args.includes('--update') }));
|
||||
|
||||
Reference in New Issue
Block a user