Skip to content

Commit

Permalink
Self use eslint-types (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Oct 25, 2023
1 parent 982d1d9 commit 7567bd6
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 22 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.cjs
@@ -1,7 +1,10 @@
// @ts-check
const { defineConfig } = require('.');
const { defineConfig } = require('eslint-define-config');
const { readGitignoreFiles } = require('eslint-gitignore');

/// <reference types="@eslint-types/prettier" />
/// <reference types="@eslint-types/typescript-eslint" />

module.exports = defineConfig({
ignorePatterns: [
...readGitignoreFiles(),
Expand Down
3 changes: 3 additions & 0 deletions package.json
Expand Up @@ -63,6 +63,8 @@
"tsconfig.json"
],
"devDependencies": {
"@eslint-types/prettier": "~5.0.1",
"@eslint-types/typescript-eslint": "~6.9.0",
"@types/eslint": "~8.44.3",
"@types/json-schema": "~7.0.13",
"@types/node": "~20.8.3",
Expand All @@ -72,6 +74,7 @@
"change-case": "~4.1.2",
"eslint": "~8.51.0",
"eslint-config-prettier": "~9.0.0",
"eslint-define-config": "link:./",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-prettier": "~5.0.0",
"expect-type": "~0.17.3",
Expand Down
59 changes: 38 additions & 21 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 7567bd6

Please sign in to comment.