Skip to content

Commit

Permalink
✨ Improve install
Browse files Browse the repository at this point in the history
Vend eslint and eslint-formatter-pretty as direct dependencies. This
simplifies my ESLint configuration in future packages (I only need this
one dependency).
  • Loading branch information
connorjs committed Jul 29, 2024
1 parent 58ef813 commit 4a3d88f
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 52 deletions.
51 changes: 12 additions & 39 deletions package-lock.json

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

17 changes: 4 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-connorjs",
"version": "1.0.0-beta.1",
"version": "1.0.0-beta.2",
"description": "@connorjs’s preferred ESLint configuration. With ESLint flat config.",
"keywords": [
"eslint",
Expand Down Expand Up @@ -39,20 +39,13 @@
"prettier": "prettier -c '**/*.{cjs,js,json,yaml}'",
"prettier:fix": "npm run prettier -- -w"
},
"peerDependencies": {
"eslint": "^8.56.0",
"typescript": ">=4.7.4"
},
"peerDependenciesMeta": {
"typescript": {
"optional": true
}
},
"dependencies": {
"@eslint/js": "^8.57.0",
"@html-eslint/eslint-plugin": "~0.25.0",
"@html-eslint/parser": "~0.25.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-formatter-pretty": "^6.0.1",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsonc": "^2.16.0",
Expand All @@ -68,9 +61,7 @@
},
"devDependencies": {
"@types/eslint": "^8.56.11",
"eslint": "^8.57.0",
"eslint-formatter-pretty": "^6.0.1",
"husky": "^9.1.1",
"husky": "^9.1.3",
"is-ci": "^3.0.1",
"lint-staged": "^15.2.7",
"prettier": "^3.3.3"
Expand Down

0 comments on commit 4a3d88f

Please sign in to comment.