-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #225 from rabbitholegg/art/fix/rome-format
Fix(rome): noExtraSemicolon
- Loading branch information
Showing
281 changed files
with
11,145 additions
and
11,161 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
import { readJsonSync, writeFileSync } from "fs-extra"; | ||
import path from "path"; | ||
import { readJsonSync, writeFileSync } from 'fs-extra' | ||
import path from 'path' | ||
|
||
// Writes the current package.json version to `./src/errors/version.ts`. | ||
const versionFilePath = path.join(__dirname, "../src/errors/version.ts"); | ||
const packageJsonPath = path.join(__dirname, "../package.json"); | ||
const packageVersion = readJsonSync(packageJsonPath).version; | ||
const versionFilePath = path.join(__dirname, '../src/errors/version.ts') | ||
const packageJsonPath = path.join(__dirname, '../package.json') | ||
const packageVersion = readJsonSync(packageJsonPath).version | ||
|
||
writeFileSync(versionFilePath, `export const version = '${packageVersion}'\n`); | ||
writeFileSync(versionFilePath, `export const version = '${packageVersion}'\n`) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.