2021-01-02 10:58:24 +00:00
|
|
|
module.exports = {
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "tsconfig.json"
|
|
|
|
},
|
2021-02-22 23:26:57 +00:00
|
|
|
"ignorePatterns": [
|
|
|
|
"build/*",
|
|
|
|
"coverage/*"
|
|
|
|
],
|
2021-01-02 10:58:24 +00:00
|
|
|
"settings": {
|
|
|
|
"import/resolver": {
|
|
|
|
"typescript": {}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"extends": [
|
|
|
|
"react-app",
|
|
|
|
"plugin:import/errors",
|
|
|
|
"plugin:import/warnings",
|
2021-02-22 23:26:57 +00:00
|
|
|
"plugin:prettier/recommended",
|
|
|
|
"prettier"
|
2021-01-02 10:58:24 +00:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"import/order": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"groups": [
|
|
|
|
"builtin",
|
|
|
|
"external",
|
|
|
|
"internal"
|
|
|
|
],
|
|
|
|
"pathGroups": [
|
|
|
|
{
|
|
|
|
"pattern": "react",
|
|
|
|
"group": "external",
|
|
|
|
"position": "before"
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"pathGroupsExcludedImportTypes": [
|
|
|
|
"react"
|
|
|
|
],
|
|
|
|
"newlines-between": "always",
|
|
|
|
"alphabetize": {
|
|
|
|
"order": "asc",
|
|
|
|
"caseInsensitive": true
|
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
};
|