mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
fix eslint config
This commit is contained in:
parent
f0bb4a8419
commit
3949befef6
2 changed files with 5 additions and 4 deletions
|
|
@ -1,3 +1,4 @@
|
|||
node_modules
|
||||
dist
|
||||
eslint-local-rules
|
||||
eslint-local-rules
|
||||
.eslintrc.js
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
{
|
||||
module.exports = {
|
||||
"root": true,
|
||||
"parser": "@typescript-eslint/parser",
|
||||
"parserOptions": {
|
||||
"project": "./tsconfig.json",
|
||||
"tsconfigRootDir": "./backend"
|
||||
"tsconfigRootDir": __dirname
|
||||
},
|
||||
"plugins": [
|
||||
"@typescript-eslint",
|
||||
|
|
@ -15,7 +15,7 @@
|
|||
"plugin:@typescript-eslint/recommended",
|
||||
"prettier"
|
||||
],
|
||||
"ignorePatterns": ["dist", "eslint-local-rules"],
|
||||
"ignorePatterns": ["dist", "eslint-local-rules", ".eslintrc.js", "testSetup.ts", "__tests__", "*.config.ts"],
|
||||
"rules": {
|
||||
"@typescript-eslint/ban-ts-comment": 1,
|
||||
"@typescript-eslint/ban-types": 1,
|
||||
Loading…
Add table
Add a link
Reference in a new issue