Update es-lint rules to mach mocoapp
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
{
|
||||
"extends": [
|
||||
"eslint:recommended",
|
||||
"plugin:react/recommended"
|
||||
],
|
||||
"extends": ["eslint:recommended", "plugin:react/recommended"],
|
||||
"env": {
|
||||
"browser": true,
|
||||
"commonjs": true,
|
||||
@@ -13,9 +10,7 @@
|
||||
"globals": {
|
||||
"chrome": false
|
||||
},
|
||||
"plugins": [
|
||||
"jest"
|
||||
],
|
||||
"plugins": ["jest"],
|
||||
"parser": "babel-eslint",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 7,
|
||||
@@ -41,6 +36,36 @@
|
||||
"jest/no-focused-tests": "error",
|
||||
"jest/no-identical-title": "error",
|
||||
"jest/prefer-to-have-length": "warn",
|
||||
"jest/valid-expect": "error"
|
||||
"jest/valid-expect": "error",
|
||||
"react/prop-types": [
|
||||
"error",
|
||||
{
|
||||
"ignore": [
|
||||
"activityStore",
|
||||
"commentStore",
|
||||
"contactStore",
|
||||
"dealStore",
|
||||
"holidayStore",
|
||||
"scheduleStore",
|
||||
"presenceStore",
|
||||
"employmentStore",
|
||||
"match",
|
||||
"permission",
|
||||
"presenceStore",
|
||||
"projectStore",
|
||||
"purchaseBudgetStore",
|
||||
"purchaseCategoryStore",
|
||||
"purchasePaymentStore",
|
||||
"userStore",
|
||||
"vacationDailyHoursOverrideStore",
|
||||
"purchaseStore",
|
||||
"routing",
|
||||
"scheduleStore",
|
||||
"tagStore",
|
||||
"taskTemplateStore",
|
||||
"userStore"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user