Skip to content

Commit

Permalink
chore: standardise settings
Browse files Browse the repository at this point in the history
  • Loading branch information
metcoder95 committed Dec 6, 2024
1 parent 9bad756 commit 1f0230b
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
6 changes: 6 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict'

module.exports = require('neostandard')({
ignores: require('neostandard').resolveIgnoresFromGitignore(),
ts: true
})
13 changes: 9 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@
"type": "commonjs",
"types": "types/index.d.ts",
"scripts": {
"lint": "standard",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test": "npm run test:unit && npm run test:typescript",
"test:unit": "c8 --100 node --test",
"test:coverage": "c8 node --test && c8 report --reporter=html",
"test:typescript": "tsd"
},
"repository": {
"type": "git",
"url": "git+https://github.com/fastify/fastify-plugin.git"
"url": "git+https://github.com/fastify/otel.git"
},
"keywords": [
"plugin",
"helper",
"fastify"
"fastify",
"instrumentation",
"otel",
"opentelemetry"
],
"author": "Carlos Fuentes - @metcoder95 (https://metcoder.dev)",
"license": "MIT",
Expand All @@ -32,9 +36,10 @@
"@fastify/type-provider-typebox": "^5.0.0-pre.fv5.1",
"@types/node": "^22.0.0",
"c8": "^10.1.2",
"eslint": "^9.16.0",
"fastify": "^5.0.0",
"neostandard": "^0.11.9",
"proxyquire": "^2.1.3",
"standard": "^17.1.0",
"tsd": "^0.31.0"
}
}

0 comments on commit 1f0230b

Please sign in to comment.