Skip to content

Commit

Permalink
feat(2683): Update Node.js & dependencies. BREAKING CHANGE: Node16 & …
Browse files Browse the repository at this point in the history
…Prettier v2 (#52)

BREAKING CHANGE: Node16 & Prettier v2
  • Loading branch information
klu909 authored Nov 1, 2022
1 parent 0e80c7a commit 3ae1c89
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 16 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ artifacts/
npm-debug.log
.DS_STORE
.*.swp
.nyc_output
.nyc_output
package-lock.json
4 changes: 3 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,9 @@ module.exports = {
{
singleQuote: true,
tabWidth: 4,
printWidth: 120
printWidth: 120,
trailingComma: "none",
arrowParens: "avoid"
}
],
'require-jsdoc': [
Expand Down
28 changes: 15 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-screwdriver",
"version": "5.0.0",
"version": "7.0.0",
"description": "ESLint rules for screwdriver projects",
"main": "index.js",
"scripts": {
Expand Down Expand Up @@ -38,24 +38,26 @@
}
},
"peerDependencies": {
"eslint": ">= 6",
"prettier": ">= 1",
"eslint-plugin-import": "^2.20.0",
"eslint-plugin-prettier": "^3.1.0"
"eslint": ">= 8",
"prettier": ">= 2",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.0",
"eslint-config-prettier": "^8.5.0"
},
"devDependencies": {
"chai": "^4.3.4",
"mocha": "^9.1.3",
"chai": "^4.3.6",
"mocha": "^10.1.0",
"mocha-multi-reporters": "^1.5.1",
"mocha-sonarqube-reporter": "^1.0.2",
"nyc": "^15.1.0"
},
"dependencies": {
"eslint": "^8.0.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^6.15.0",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-prettier": "^3.4.1",
"prettier": "^1.19.1"
"eslint": "^8.26.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.2.1",
"prettier": "^2.7.1"
}
}
2 changes: 1 addition & 1 deletion screwdriver.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
shared:
image: node:12
image: node:16

jobs:
main:
Expand Down

0 comments on commit 3ae1c89

Please sign in to comment.