Skip to content

Commit

Permalink
feat: adds es20{22,23}
Browse files Browse the repository at this point in the history
  • Loading branch information
yowainwright committed Jan 26, 2023
1 parent adb7f1f commit 14affac
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 11 deletions.
6 changes: 6 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@ program
case 'es2021':
ecmaVersion = '2021'
break
case 'es2022':
ecmaVersion = '2022'
break
case 'es2023':
ecmaVersion = '2023'
break
default:
logger.error('Invalid ecmaScript version, please pass a valid version, use --help for help')
process.exit(1)
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,26 +38,27 @@
},
"homepage": "https://github.com/yowainwright/es-check#readme",
"devDependencies": {
"@commitlint/cli": "^17.3.0",
"@commitlint/config-conventional": "^17.3.0",
"@commitlint/prompt": "^17.3.0",
"@commitlint/cli": "17.4.2",
"@commitlint/config-conventional": "17.4.2",
"@commitlint/prompt": "17.4.2",
"assert": "^2.0.0",
"codecov": "^3.8.3",
"codependence": "^0.2.6",
"commitizen": "^4.2.6",
"commitizen": "4.3.0",
"conventional-changelog-cli": "^2.2.2",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.2",
"eslint": "8.32.0",
"eslint-config-prettier": "8.6.0",
"husky": "8.0.3",
"is-ci": "^3.0.1",
"mocha": "^10.2.0",
"nyc": "^15.1.0",
"path-exists-cli": "^2.0.0",
"prettier": "^2.8.1",
"release-it": "^15.5.1"
"prettier": "2.8.3",
"release-it": "15.6.0"
},
"dependencies": {
"acorn": "^8.8.1",
"commander": "^9.4.1",
"acorn": "8.8.2",
"commander": "10.0.0",
"fast-glob": "^3.2.12",
"supports-color": "^8.1.1",
"winston": "^3.8.2"
Expand Down
2 changes: 2 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 14affac

Please sign in to comment.