Skip to content

Commit

Permalink
chore(Linting): unbound-method and lint script fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Garifullin Ruslan committed Jan 9, 2021
1 parent e68d042 commit 86c038d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"@typescript-eslint/no-shadow": ["error"],
"@typescript-eslint/no-unused-expressions": ["error"],
"@typescript-eslint/no-unused-vars": ["error"],
"@typescript-eslint/unbound-method": [
"error",
{
"ignoreStatic": true
}
],
"arrow-parens": ["error", "always"],
"comma-dangle": [
"error",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"build:prod": "webpack --mode=production",
"start": "qode ./dist/index.js",
"start:debug": "qode --inspect=0.0.0.0:9229 ./dist/index.js",
"lint": "eslint src/**/*.ts worker/**/*.ts",
"lint": "eslint 'src/**/*.ts' 'worker/**/*.ts'",
"lint:ts": "tsc -p .",
"lint:fix": "eslint --fix 'src/**/*.ts' 'worker/**/*.ts' && npm run prettier",
"prettier": "prettier --write --loglevel warn src/**/*.ts worker/**/*.ts src/**/*.scss",
Expand Down Expand Up @@ -138,4 +138,4 @@
]
}
}
}
}

0 comments on commit 86c038d

Please sign in to comment.