feat: replace standard with eslint

This commit is contained in:
Yarmo Mackenbach 2023-05-03 10:45:30 +02:00
parent 46cffbf056
commit dc0806e738
No known key found for this signature in database
GPG key ID: 37367F4AF4087AD1
2 changed files with 236 additions and 534 deletions

View file

@ -31,14 +31,18 @@
"chai-as-promised": "^7.1.1",
"chai-match-pattern": "^1.2.0",
"clean-jsdoc-theme": "^3.2.4",
"eslint": "^8.39.0",
"eslint-config-standard": "^17.0.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-n": "^15.7.0",
"eslint-plugin-promise": "^6.1.1",
"husky": "^7.0.0",
"jsdoc": "^3.6.6",
"license-check-and-add": "^4.0.3",
"lint-staged": "^11.0.0",
"minify": "^9.1",
"mocha": "^9.2.0",
"nodemon": "^2.0.19",
"standard": "^16.0.3"
"nodemon": "^2.0.19"
},
"scripts": {
"release": "yarn run test && yarn run release:bundle && yarn run release:minify",
@ -48,8 +52,8 @@
"license:add": "./node_modules/.bin/license-check-and-add add",
"license:remove": "./node_modules/.bin/license-check-and-add remove",
"docs:lib": "./node_modules/.bin/jsdoc -c jsdoc-lib.json -r -d ./docs -P package.json",
"standard:check": "./node_modules/.bin/standard ./src",
"standard:fix": "./node_modules/.bin/standard --fix ./src",
"lint": "eslint ./src",
"lint:fix": "eslint ./src --fix",
"mocha": "./node_modules/.bin/mocha",
"test": "yarn run standard:check && yarn rome check ./src/* && yarn run license:check && yarn run mocha",
"prepare": "husky install"

758
yarn.lock

File diff suppressed because it is too large Load diff