mirror of
https://github.com/threeal/cmake-action.git
synced 2025-06-08 18:21:20 +00:00
test: use .gitignore
in ESLint (#112)
* test(eslint): use `.gitignore` to ignore files * test(eslint): ignore `main` directory from checking
This commit is contained in:
parent
61dd4011c7
commit
8885aea737
@ -1,5 +1,6 @@
|
||||
{
|
||||
"root": true,
|
||||
"ignorePatterns": ["main"],
|
||||
"extends": ["eslint:recommended", "prettier"],
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2022,
|
||||
|
@ -4,7 +4,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"bundle": "tsc && ncc build dist/main.mjs -o main",
|
||||
"check": "prettier --write . !main !README.md && eslint src package.json",
|
||||
"check": "prettier --write . !main !README.md && eslint --ignore-path .gitignore .",
|
||||
"test": "tsc && jest"
|
||||
},
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user