From 53cad6106232bc6bfb43ffc876457338d0c6ab88 Mon Sep 17 00:00:00 2001 From: Timo Hocker Date: Thu, 9 Apr 2020 09:05:38 +0200 Subject: [PATCH] parsing fix --- index.js | 6 ++++++ yarn.lock | 6 +++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index c0ea151..7499882 100644 --- a/index.js +++ b/index.js @@ -26,6 +26,12 @@ module.exports = { parser: 'babel-eslint' }, + settings: { + 'import/parsers': { + '@typescript-eslint/parser': ['.ts', '.tsx'] + } + }, + rules: { '@typescript-eslint/camelcase': 'off', '@typescript-eslint/naming-convention': ['error', diff --git a/yarn.lock b/yarn.lock index 0e0be96..31576b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -24,9 +24,9 @@ js-tokens "^4.0.0" "@scode/eslint-config-es6@^1.0.1": - version "1.0.12" - resolved "https://npm.scode.ovh/@scode%2feslint-config-es6/-/eslint-config-es6-1.0.12.tgz#c2a983b6ea82ac5c815ed5e2b6710f0abbf786d9" - integrity sha512-Qd0HoZ3AJa1NfDlI+m/60UNvWEW9lfqX/I0sJ8S6zAhwMHO4ETjE5wTPJJFKRt4zrLmTxFiA+qAElaYSP+aaiQ== + version "1.0.14" + resolved "https://npm.scode.ovh/@scode%2feslint-config-es6/-/eslint-config-es6-1.0.14.tgz#3b1f023b6ac653e29eb12f1ce4ec9103e0066be0" + integrity sha512-uVSO52wbpoynUBFI6nkRh5d5DD1Pqto7Alic9cr5WEyDF6ihScy0bTQBrdRGHRHVlvMYrVCNNK9gRvSwPdjatA== dependencies: "@scode/eslint-config" "^2.0.1" eslint-plugin-import "^2.20.1"