Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unsupported typescript version #53

Closed
tylerthehaas opened this issue Dec 3, 2019 · 2 comments · Fixed by #63
Closed

unsupported typescript version #53

tylerthehaas opened this issue Dec 3, 2019 · 2 comments · Fixed by #63
Labels

Comments

@tylerthehaas
Copy link

@tylerthehaas tylerthehaas commented Dec 3, 2019

getting the following warning on typescript v3.7.2

WARNING: You are currently running a version of TypeScript which is not officially supported by typescript-estree.

You may find that it works just fine, or you may not.

SUPPORTED TYPESCRIPT VERSIONS: >=3.2.1 <3.6.0

YOUR TYPESCRIPT VERSION: 3.7.2

Please only submit bug reports when using the officially supported version.

here is my eslint config file

{
  "env": {
    "browser": true,
    "jest": true,
    "node": true,
    "es6": true
  },
  "extends": [
    "airbnb-typescript",
    "airbnb/hooks",
    "prettier",
    "prettier/@typescript-eslint",
    "prettier/react"
  ],
  "globals": {
    "window": true,
    "env": true
  },
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": 2018,
    "sourceType": "module",
    "project": "./tsconfig.json"
  },
  "plugins": ["@typescript-eslint", "jsx-a11y", "prettier", "react-hooks"],
  "settings": {
    "import/resolver": {
      "typescript": {}
    },
    "import/ignore": [".js", ".jsx"]
  },
  "rules": {
    "class-methods-use-this": "off",
    "consistent-return": [
      "error",
      {
        "treatUndefinedAsUnspecified": true
      }
    ],
    "global-require": "off",
    "import/prefer-default-export": 0,
    "import/no-named-as-default": 0,
    "import/no-cycle": 0,
    "indent": 0,
    "one-var": 0,
    "one-var-declaration-per-line": 0,
    "no-alert": 0,
    "no-use-before-define": "off",
    "import/no-extraneous-dependencies": "off",
    "no-nested-ternary": "off",
    "no-shadow": 0,
    "no-underscore-dangle": 0,
    "no-unneeded-ternary": "off",
    "prefer-const": [2],
    "prettier/prettier": ["error"],
    "react/jsx-filename-extension": "off",
    "react/prop-types": "off",
    "react/jsx-indent": "off",
    "react/jsx-one-expression-per-line": "off",
    "react/jsx-wrap-multilines": "off",
    "react/destructuring-assignment": "off",
    "react/no-array-index-key": "off",
    "jsx-a11y/no-noninteractive-tabindex": [
      "error",
      {
        "roles": ["region"]
      }
    ],
    "space-before-function-paren": 0,
    "strict": 0,
    "trailing-comma": [
      "error",
      {
        "multiline": {
          "objects": "always",
          "arrays": "always"
        },
        "esSpecCompliant": true
      }
    ]
  }
}
@cardi3m

This comment has been minimized.

Copy link

@cardi3m cardi3m commented Jan 29, 2020

I get the same warning. I also get errors about some rules not being found using typescript 3.7.5 and the base version.

@iamturns

This comment has been minimized.

Copy link
Owner

@iamturns iamturns commented Feb 9, 2020

🎉 This issue has been resolved in version 7.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@iamturns iamturns added the released label Feb 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.