Skip to content

Commit

Permalink
test: switch to Biome (#46)
Browse files Browse the repository at this point in the history
Signed-off-by: Tierney Cyren <hello@bnb.im>
  • Loading branch information
bnb authored Jun 26, 2024
1 parent 0e3f405 commit 93b236d
Show file tree
Hide file tree
Showing 60 changed files with 272,272 additions and 294,172 deletions.
17 changes: 17 additions & 0 deletions aliases/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
"organizeImports": {
"enabled": true
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
16 changes: 8 additions & 8 deletions aliases/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
const aliases = [
'current',
'lts/latest',
'lts/active',
'lts/maintenance',
'eol',
'all'
]
'current',
'lts/latest',
'lts/active',
'lts/maintenance',
'eol',
'all',
];

module.exports = aliases
module.exports = aliases;
52 changes: 25 additions & 27 deletions aliases/package.json
Original file line number Diff line number Diff line change
@@ -1,29 +1,27 @@
{
"name": "@nodevu/aliases",
"version": "0.0.2",
"description": "available aliases for sets of Node.js versions",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/cutenode/nodevu.git"
},
"keywords": [
"node.js",
"version"
],
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cutenode/nodevu/issues"
},
"homepage": "https://github.com/cutenode/nodevu#readme",
"scripts": {
"lint": "standard --env mocha",
"lint:fix": "standard --fix --env mocha",
"updates:check": "npx npm-check-updates",
"updates:update": "npx npm-check-updates -u"
},
"devDependencies": {
"standard": "^17.0.0"
}
"name": "@nodevu/aliases",
"version": "0.0.2",
"description": "available aliases for sets of Node.js versions",
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/cutenode/nodevu.git"
},
"keywords": ["node.js", "version"],
"author": "Tierney Cyren <hello@bnb.im> (https://bnb.im/)",
"license": "MIT",
"bugs": {
"url": "https://github.com/cutenode/nodevu/issues"
},
"homepage": "https://github.com/cutenode/nodevu#readme",
"scripts": {
"lint": "biome check ./",
"lint:apply": "biome check ./ --apply",
"test": "",
"updates:check": "npx npm-check-updates",
"updates:update": "npx npm-check-updates -u"
},
"devDependencies": {
"@biomejs/biome": "1.6.1"
}
}
17 changes: 17 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
"organizeImports": {
"enabled": true
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
17 changes: 17 additions & 0 deletions core/biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"$schema": "https://biomejs.dev/schemas/1.6.1/schema.json",
"organizeImports": {
"enabled": true
},
"javascript": {
"formatter": {
"quoteStyle": "single"
}
},
"linter": {
"enabled": true,
"rules": {
"recommended": true
}
}
}
Loading

0 comments on commit 93b236d

Please sign in to comment.