mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 14:05:44 +01:00
added typscript support to eslint-config
This commit is contained in:
@@ -9,5 +9,21 @@ module.exports = {
|
||||
"jsx-a11y/href-no-hash": [0],
|
||||
"flowtype/no-types-missing-file-annotation": 2,
|
||||
"no-console": "error"
|
||||
}
|
||||
},
|
||||
"overrides": [
|
||||
{
|
||||
files: ["*.ts", "*.tsx"],
|
||||
parser: "@typescript-eslint/parser",
|
||||
"extends": [
|
||||
"react-app",
|
||||
"plugin:@typescript-eslint/recommended"
|
||||
],
|
||||
"rules": {
|
||||
"semi": ["error", "always"],
|
||||
"quotes": ["error", "double"],
|
||||
"jsx-a11y/href-no-hash": [0],
|
||||
"no-console": "error"
|
||||
}
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user