diff --git a/eslint.config.js b/eslint.config.js new file mode 100644 index 0000000..89fd678 --- /dev/null +++ b/eslint.config.js @@ -0,0 +1,6 @@ +'use strict' + +module.exports = require('neostandard')({ + ignores: require('neostandard').resolveIgnoresFromGitignore(), + ts: true +}) diff --git a/package.json b/package.json index 89a7644..628e4ac 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "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", @@ -14,12 +15,15 @@ }, "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", @@ -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" } }