This repository was archived by the owner on Apr 29, 2022. It is now read-only.

Description
Hi,
I am trying to migrate to new eslint way package. I have followed the migrate instructions and I am getting this error when I open a ts file:
Error: .eslintrc.json:
Configuration for rule "import/extensions" is invalid:
Severity should be one of the following: 0 = off, 1 = warn, 2 = error (you passed '".js"').
I am doing something wrong?
I use Intellij Webstorm
This is my .eslintrc.json file:
{
"extends": ["airbnb"],
"plugins": ["@typescript-eslint"],
"parser": "@typescript-eslint/parser",
"rules": {
"import/no-unresolved": 0,
"import/extensions": [".js", ".json", ".jsx", ".ts", ".tsx"],
"react/jsx-filename-extension": {
"extensions": [
".jsx",
".tsx"
]
}
},
"settings": {
"import/resolver": {
"webpack": {
"config": "webpack.config.js"
}
}
}
}