This repository was archived by the owner on Jan 19, 2019. It is now read-only.

Description
Currently, I'm using the following .eslintrc.json file for my TypeScript React projects:
{
"extends": [
"airbnb",
"plugin:prettier/recommended",
"prettier/react",
"prettier/typescript"
],
"parser": "eslint-plugin-typescript/parser",
"plugins": ["typescript"],
"env": {
"browser": true
},
"settings": {
"import/resolver": {
"node": {
"extensions": [".ts", ".tsx", ".js", ".jsx"]
}
}
},
"overrides": [
{
"files": ["**/*.ts", "**/*.tsx"],
"rules": {
"typescript/no-unused-vars": "error",
"react/jsx-filename-extension": ["error", { "extensions": [".tsx"] }]
}
}
]
}
For example, it would be great if I could get rid of the overrides by fixing false-positives around typescript/no-unused-vars and possibly co-operating with the maintainers of eslint-config-airbnb for changing the react/jsx-filename-extension rule.
I'm not sure how, but the settings section may also be eliminated by an officially supported integration with eslint-import-resolver-typescript.