Skip to content

Commit

Permalink
feat: ✨ use typescript-eslint shared config name
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy-guzman committed Apr 8, 2024
1 parent 795e4ce commit 5e2bd8b
Show file tree
Hide file tree
Showing 8 changed files with 31,869 additions and 23,476 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ Then if you want a simple configuration:

```js
// eslint.config.mjs
// @ts-check
import jimmyDotCodes from "@jimmy.codes/eslint-config";

export default jimmyDotCodes();
Expand All @@ -45,7 +44,6 @@ This package contains rules that can be enabled or disabled as follows:

```js
// eslint.config.mjs
// @ts-check
import jimmyDotCodes from "@jimmy.codes/eslint-config";

export default jimmyDotCodes({
Expand Down Expand Up @@ -73,7 +71,6 @@ You can also change the project location which can be helpful for monorepos:

```js
// eslint.config.mjs
// @ts-check
import jimmyDotCodes from "@jimmy.codes/eslint-config";

export default jimmyDotCodes({
Expand All @@ -89,7 +86,6 @@ By default [vitest](https://vitest.dev) is used as the testing framework but you

```js
// eslint.config.mjs
// @ts-check
import jimmyDotCodes from "@jimmy.codes/eslint-config";

export default jimmyDotCodes({
Expand All @@ -106,7 +102,6 @@ You can also extend or override the configuration:

```js
// eslint.config.mjs
// @ts-check
import jimmyDotCodes from "@jimmy.codes/eslint-config";

export default jimmyDotCodes({
Expand Down
13 changes: 10 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"build": "pkgroll --minify",
"coverage": "vitest run --coverage",
"dev": "pkgroll --watch",
"docs:view": "npx @eslint/config-inspector --open=false",
"docs:build": "npx @eslint/config-inspector build",
"docs:view": "npx @eslint/config-inspector --open=false",
"format": "prettier --check --cache .",
"format:fix": "prettier --write --cache .",
"lint": "eslint .",
Expand All @@ -48,7 +48,7 @@
"prettier": "@jimmy.codes/prettier-config",
"dependencies": {
"@eslint/js": "^8.57.0",
"@typescript-eslint/utils": "^7.5.0",
"@typescript-eslint/utils": "^7.6.0",
"eslint-config-prettier": "^9.1.0",
"eslint-import-resolver-typescript": "^3.6.1",
"eslint-plugin-import-x": "0.5.0",
Expand All @@ -62,7 +62,7 @@
"eslint-plugin-simple-import-sort": "^12.0.0",
"eslint-plugin-testing-library": "^6.2.0",
"globals": "^15.0.0",
"typescript-eslint": "^7.5.0"
"typescript-eslint": "^7.6.0"
},
"devDependencies": {
"@commitlint/config-conventional": "19.1.0",
Expand Down Expand Up @@ -100,6 +100,13 @@
"publishConfig": {
"access": "public"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"eslint-plugin-import"
]
}
},
"gitzy": {
"useCommitlintConfig": true
}
Expand Down
96 changes: 49 additions & 47 deletions pnpm-lock.yaml

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

Loading

0 comments on commit 5e2bd8b

Please sign in to comment.