Skip to content

Commit

Permalink
use types provided by eslint-plugin-n
Browse files Browse the repository at this point in the history
  • Loading branch information
rhysd committed May 17, 2024
1 parent db63925 commit 5778a0c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 18 deletions.
2 changes: 1 addition & 1 deletion eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export default ts.config(
},
},
{
files: ['eslint.config.mjs', 'types/eslint.d.ts'],
files: ['eslint.config.mjs'],
languageOptions: {
parserOptions: {
project: 'tsconfig.eslint.json',
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "action-setup-vim",
"version": "0.0.0",
"private": true,
"description": "",
"description": "GitHub Actions action for installing Vim/Neovim",
"engines": {
"node": ">=20.0.0"
},
Expand All @@ -14,7 +14,7 @@
"watch:mocha": "mocha --watch-files \"./test/*.js\"",
"watch": "concurrently -c auto npm:watch:tsc npm:watch:mocha",
"lint:eslint": "eslint --max-warnings 0 \"./**/*.ts\" eslint.config.mjs",
"lint:tsc-eslint": "tsc -p tsconfig.eslint.json --noEmit --allowJs",
"lint:tsc-eslint": "tsc -p tsconfig.eslint.json",
"lint:prettier": "prettier --check \"./**/*.ts\" \"./**/*.mjs\"",
"lint": "concurrently -c auto npm:lint:eslint npm:lint:prettier npm:lint:tsc-eslint",
"fix:eslint": "eslint --fix \"./**/*.ts\"",
Expand All @@ -34,6 +34,7 @@
"github",
"action",
"vim",
"neovim",
"text editor"
],
"author": "rhysd <https://rhysd.github.io>",
Expand Down
7 changes: 4 additions & 3 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"module": "nodenext",
"moduleResolution": "nodenext"
"moduleResolution": "nodenext",
"noEmit": true,
"allowJs": true
},
"files": [
"eslint.config.mjs",
"types/eslint.d.ts"
"eslint.config.mjs"
]
}
12 changes: 0 additions & 12 deletions types/eslint.d.ts

This file was deleted.

0 comments on commit 5778a0c

Please sign in to comment.