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 d5d5de7..8bca5c1 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "Finds changes between two OpenAPI schemas", "main": "index.js", "scripts": { - "lint": "standard", - "lint:fix": "standard --fix", + "lint": "eslint", + "lint:fix": "eslint --fix", "test:unit": "c8 --100 node --test", "test": "npm run lint && npm run test:unit" }, @@ -31,6 +31,6 @@ }, "devDependencies": { "c8": "^8.0.1", - "standard": "^17.1.0" + "neostandard": "^0.11.9" } }