chore: upgrade Prettier and run on full repo

- Move Prettier 1 -> to support `.` glob and built-in parsers
- Move whitespace settings to EditorConfig that Prettier reads
- Expand glob to run on all non-generated files
This commit is contained in:
Nick Schonning 2022-08-26 20:50:35 -04:00
parent e954e15431
commit c2dd1f600a
No known key found for this signature in database
GPG key ID: 5DDAAD9C9AAFFD9F
28 changed files with 1503 additions and 1457 deletions

View file

@ -15,11 +15,7 @@ describe('authutil tests', () => {
let dbgSpy: jest.SpyInstance;
beforeAll(async () => {
const randPath = path.join(
Math.random()
.toString(36)
.substring(7)
);
const randPath = path.join(Math.random().toString(36).substring(7));
console.log('::stop-commands::stoptoken'); // Disable executing of runner commands when running tests in actions
process.env['GITHUB_ENV'] = ''; // Stub out Environment file functionality so we can verify it writes to standard out (toolkit is backwards compatible)
const tempDir = path.join(_runnerDir, randPath, 'temp');