mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-07 05:55:44 +01:00
addded central eslint-config
This commit is contained in:
15
scm-ui/eslint-config/index.js
Normal file
15
scm-ui/eslint-config/index.js
Normal file
@@ -0,0 +1,15 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = {
|
||||
"extends": [
|
||||
"react-app",
|
||||
"plugin:flowtype/recommended"
|
||||
],
|
||||
"rules": {
|
||||
"semi": ["error", "always"],
|
||||
"quotes": ["error", "double"],
|
||||
"jsx-a11y/href-no-hash": [0],
|
||||
"flowtype/no-types-missing-file-annotation": 2,
|
||||
"no-console": "error"
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user