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
|
node_modules
|
||||||
dist
|
dist
|
||||||
eslint-local-rules
|
eslint-local-rules
|
||||||
|
.eslintrc.js
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
{
|
module.exports = {
|
||||||
"root": true,
|
"root": true,
|
||||||
"parser": "@typescript-eslint/parser",
|
"parser": "@typescript-eslint/parser",
|
||||||
"parserOptions": {
|
"parserOptions": {
|
||||||
"project": "./tsconfig.json",
|
"project": "./tsconfig.json",
|
||||||
"tsconfigRootDir": "./backend"
|
"tsconfigRootDir": __dirname
|
||||||
},
|
},
|
||||||
"plugins": [
|
"plugins": [
|
||||||
"@typescript-eslint",
|
"@typescript-eslint",
|
||||||
|
|
@ -15,7 +15,7 @@
|
||||||
"plugin:@typescript-eslint/recommended",
|
"plugin:@typescript-eslint/recommended",
|
||||||
"prettier"
|
"prettier"
|
||||||
],
|
],
|
||||||
"ignorePatterns": ["dist", "eslint-local-rules"],
|
"ignorePatterns": ["dist", "eslint-local-rules", ".eslintrc.js", "testSetup.ts", "__tests__", "*.config.ts"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"@typescript-eslint/ban-ts-comment": 1,
|
"@typescript-eslint/ban-ts-comment": 1,
|
||||||
"@typescript-eslint/ban-types": 1,
|
"@typescript-eslint/ban-types": 1,
|
||||||
Loading…
Add table
Add a link
Reference in a new issue