Skip to content

Commit

Permalink
build(deps-dev): replace standard with neostandard (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
Fdawgs authored Dec 8, 2024
1 parent f6ef3f7 commit 47cae9b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 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
})
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,13 @@
"devDependencies": {
"@fastify/pre-commit": "^2.1.0",
"c8": "^7.14.0",
"standard": "^17.1.0",
"neostandard": "^0.11.9",
"tape": "^5.7.5",
"tsd": "^0.31.0"
},
"scripts": {
"lint": "standard",
"lint": "eslint",
"lint:fix": "eslint --fix",
"test": "npm run test:unit && npm run test:typescript",
"test:typescript": "tsd",
"test:unit": "c8 tape test/*.js"
Expand Down
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ declare namespace safeRegex {
export { safeRegex as default }
}

declare function safeRegex(...params: Parameters<SafeRegex2>): ReturnType<SafeRegex2>
declare function safeRegex (...params: Parameters<SafeRegex2>): ReturnType<SafeRegex2>
export = safeRegex

0 comments on commit 47cae9b

Please sign in to comment.