Skip to content

Instantly share code, notes, and snippets.

@nikeee
Last active May 25, 2023 10:18
Show Gist options
  • Save nikeee/1fa483be59c2bc36e024f494903d6cb2 to your computer and use it in GitHub Desktop.
Save nikeee/1fa483be59c2bc36e024f494903d6cb2 to your computer and use it in GitHub Desktop.
rome-repro
node_modules
*.js
!a.js
rome format --write a.js

->

Formatted 0 file(s) in 134µs
internalError/io ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ No files were processed in the specified paths.
const
a ="a"
{
"name": "a",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"dependencies": {
"rome": "^12.1.2"
}
},
"node_modules/@rometools/cli-darwin-arm64": {
"version": "12.1.2",
"resolved": "https://registry.npmjs.org/@rometools/cli-darwin-arm64/-/cli-darwin-arm64-12.1.2.tgz",
"integrity": "sha512-9QxtAwNyX9n7ysxo+9qWczl70I1opulmX7LFNsRJKS9qqyTNc5K++btnNK07vWAIeQsMx4QYwr7241thuBMlFw==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@rometools/cli-darwin-x64": {
"version": "12.1.2",
"resolved": "https://registry.npmjs.org/@rometools/cli-darwin-x64/-/cli-darwin-x64-12.1.2.tgz",
"integrity": "sha512-w28NkGYK/rSmQU2WkNzw1h7ec8IR5a7LzYwPHDvG2ogY5sTcygkg0TGKOF/MHUvixU6EBPrFobua2gPhpr/m5A==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@rometools/cli-linux-arm64": {
"version": "12.1.2",
"resolved": "https://registry.npmjs.org/@rometools/cli-linux-arm64/-/cli-linux-arm64-12.1.2.tgz",
"integrity": "sha512-7BPGqPtnJy1O8B/ucJ5Vg+p6EUvJJ9DazrT1UEdVR/4inPqAVac9PIZDjjHXyMrt/3IngnetPyn5EXNTAqpJVw==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"linux"
]
},
"node_modules/@rometools/cli-linux-x64": {
"version": "12.1.2",
"resolved": "https://registry.npmjs.org/@rometools/cli-linux-x64/-/cli-linux-x64-12.1.2.tgz",
"integrity": "sha512-qH2iJKPLp34D0GFK1gLolHGkTA8q2vGKh2Ae1AwoTh87g0mXyyeQf4mAtxJtf4/ydMgjEkAZdEwyaevbTX8gnQ==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"linux"
]
},
"node_modules/@rometools/cli-win32-arm64": {
"version": "12.1.2",
"resolved": "https://registry.npmjs.org/@rometools/cli-win32-arm64/-/cli-win32-arm64-12.1.2.tgz",
"integrity": "sha512-iIdqss2R8bni7C7isA9OLBj1UAA3MeKfca0aHNZr+2gSRdiSxO/47j6s3Tpebso99xsJBAFdWBOruG+l/C+LQg==",
"cpu": [
"arm64"
],
"optional": true,
"os": [
"win32"
]
},
"node_modules/@rometools/cli-win32-x64": {
"version": "12.1.2",
"resolved": "https://registry.npmjs.org/@rometools/cli-win32-x64/-/cli-win32-x64-12.1.2.tgz",
"integrity": "sha512-MKOd02sSnd/Biogh3rIKpLFZzYbDSVvRNAxbFHJOpyGLbeQHfAg7QxjKwz0PqyrHVjZaTEEPlswrf4IFii0GNg==",
"cpu": [
"x64"
],
"optional": true,
"os": [
"win32"
]
},
"node_modules/rome": {
"version": "12.1.2",
"resolved": "https://registry.npmjs.org/rome/-/rome-12.1.2.tgz",
"integrity": "sha512-ObyDevKRU6k3R9fAK9hDvrX9FSPEJ0JWNv5i65enknV+epWjEIL0jnDuijPUX7MSVS6M/ngTiKUaeF3w63SJXw==",
"hasInstallScript": true,
"bin": {
"rome": "bin/rome"
},
"engines": {
"node": ">=14.*"
},
"optionalDependencies": {
"@rometools/cli-darwin-arm64": "12.1.2",
"@rometools/cli-darwin-x64": "12.1.2",
"@rometools/cli-linux-arm64": "12.1.2",
"@rometools/cli-linux-x64": "12.1.2",
"@rometools/cli-win32-arm64": "12.1.2",
"@rometools/cli-win32-x64": "12.1.2"
}
}
}
}
{
"dependencies": {
"rome": "^12.1.2"
}
}
{
"$schema": "https://docs.rome.tools/schemas/12.1.2/schema.json",
"organizeImports": {
"enabled": false
},
"formatter": {
"enabled": true
},
"vcs": {
"enabled": true,
"clientKind": "git"
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment