react/src/support/HumanizeObjectType.js
Function HumanizeObjectType
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export const HumanizeObjectType = (type) => {
switch (type){
case 'statement':
case 'CcStatement':
return 'Statement'
- Create a ticketCreate a ticket
Parsing error: 'import' and 'export' may appear only with 'sourceType: module' Open
Open
export const HumanizeObjectType = (type) => {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
For more information visit Source: http://eslint.org/docs/rules/