Skip to content

Commit 74f6bc7

Browse files
committed
Move eslint config
1 parent 183e440 commit 74f6bc7

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.eslintrc.yml renamed to .github/linters/.eslintrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ parserOptions:
2020
ecmaVersion: 2023
2121
sourceType: module
2222
project:
23-
- './__tests__/tsconfig.json'
23+
- './.github/linters/tsconfig.json'
2424
- './tsconfig.json'
2525

2626
plugins:

.github/linters/tsconfig.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"$schema": "https://json.schemastore.org/tsconfig",
3+
"extends": "../../tsconfig.json",
4+
"compilerOptions": {
5+
"noEmit": true
6+
},
7+
"include": ["../../__tests__/**/*", "../../src/**/*"],
8+
"exclude": ["../../dist", "../../node_modules", "../../coverage", "*.json"]
9+
}

__tests__/tsconfig.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"coverage": "make-coverage-badge --output-path ./badges/coverage.svg",
3333
"format:write": "prettier --write **/*.ts",
3434
"format:check": "prettier --check **/*.ts",
35-
"lint": "npx eslint . -c .eslintrc.yml",
35+
"lint": "npx eslint . -c .github/linters/.eslintrc.yml",
3636
"package": "ncc build src/index.ts --out dist --minify --license licenses.txt",
3737
"package:watch": "npm run package -- --watch",
3838
"test": "jest",

0 commit comments

Comments
 (0)