iachat/app/javascript/dashboard/i18n/locale/en
Sivin Varghese b4b308336f
feat: Eslint rules (#9839)
# Pull Request Template

## Description

This PR adds new eslint rules to the code base.

**Error rules**

|    Rule name     | Type | Files updated |
| ----------------- | --- | - |
| `vue/block-order`  | error  |    |
| `vue/component-name-in-template-casing`  | error  |    |
| `vue/component-options-name-casing`  | error  |    |
| `vue/custom-event-name-casing`  | error  |    |
| `vue/define-emits-declaration`  | error  |    |
| `vue/no-unused-properties`  | error  |    |
| `vue/define-macros-order`  | error  |    |
| `vue/define-props-declaration`  | error  |    |
| `vue/match-component-import-name`  | error  |    |
| `vue/next-tick-style`  | error  |    |
| `vue/no-bare-strings-in-template`  | error  |    |
| `vue/no-empty-component-block`  | error  |    |
| `vue/no-multiple-objects-in-class`  | error  |    |
| `vue/no-required-prop-with-default`  | error  |    |
| `vue/no-static-inline-styles`  | error  |    |
| `vue/no-template-target-blank`  | error  |    |
| `vue/no-this-in-before-route-enter`  | error  |    |
| `vue/no-undef-components`  | error  |    |
| `vue/no-unused-emit-declarations`  | error  |    |
| `vue/no-unused-refs`  | error  |    |
| `vue/no-use-v-else-with-v-for`  | error  |    |
| `vue/no-useless-v-bind`  | error  |    |
| `vue/no-v-text`  | error  |    |
| `vue/padding-line-between-blocks`  | error  |    |
| ~`vue/prefer-prop-type-boolean-first`~ | ~error~ |  (removed this
rule, cause a bug in displaying custom attributes) |
| `vue/prefer-separate-static-class`  | error  |    |
| `vue/prefer-true-attribute-shorthand`  | error  |    |
| `vue/require-explicit-slots`  | error  |    |
| `vue/require-macro-variable-name`  | error  |    |


**Warn rules**

|    Rule name     | Type | Files updated |
| ---- | ------------- | ------------- |
| `vue/no-root-v-if`  | warn  |    |


Fixes https://linear.app/chatwoot/issue/CW-3492/vue-eslint-rules

## Type of change

- [x] New feature (non-breaking change which adds functionality)


## Checklist:

- [x] My code follows the style guidelines of this project
- [x] I have performed a self-review of my code
- [x] I have commented on my code, particularly in hard-to-understand
areas
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] New and existing unit tests pass locally with my changes
- [ ] Any dependent changes have been merged and published in downstream
modules

---------

Co-authored-by: Fayaz Ahmed <fayazara@gmail.com>
Co-authored-by: Muhsin Keloth <muhsinkeramam@gmail.com>
Co-authored-by: Shivam Mishra <scm.mymail@gmail.com>
Co-authored-by: Pranav <pranav@chatwoot.com>
2024-08-05 14:02:16 +05:30
..
advancedFilters.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
agentBots.json chore: update UI copy (#8229) 2023-10-27 16:05:42 +05:30
agentMgmt.json feat: Ability to improve drafts in the editor using GPT integration (#6957) 2023-04-24 23:52:23 +05:30
attributesMgmt.json feat: Support Regex validation for custom attributes (#7856) 2024-01-23 18:01:57 +04:00
auditLogs.json feat: auditlog for team and inbox member updates (#7516) 2023-08-15 19:55:19 -07:00
automation.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
bulkActions.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
campaign.json fix: Trigger campaigns only during business hours (#3085) 2021-10-12 17:58:33 +05:30
cannedMgmt.json chore: update UI copy (#8229) 2023-10-27 16:05:42 +05:30
chatlist.json feat: Advanced conversation sort options (#8532) 2023-12-12 19:59:31 -08:00
contact.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
contactFilters.json feat: Ability filter blocked contacts (#9048) 2024-03-20 18:11:50 +05:30
conversation.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
csatMgmt.json feat: more CSAT filters (#7038) 2023-05-18 22:50:46 +05:30
datePicker.json feat: Custom date picker (#9247) 2024-04-29 14:43:57 +05:30
emoji.json feat: Adds the ability to set an emoji for help center category (#8111) 2023-10-20 13:52:30 +05:30
general.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
generalSettings.json feat: Reconnect logic (#9453) 2024-06-03 15:54:19 +05:30
helpCenter.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
inbox.json feat: add push notification when SLA missed (#9078) 2024-03-11 21:49:41 +05:30
inboxMgmt.json feat: add promise based loader for FB script (#9780) 2024-07-22 11:32:05 +05:30
index.js feat: Custom date picker (#9247) 2024-04-29 14:43:57 +05:30
integrationApps.json feat: Add Integration hooks UI (#2301) 2021-06-06 16:59:05 +05:30
integrations.json feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871) 2024-08-01 19:22:34 -07:00
labelsMgmt.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
login.json feat: Minor improvements to login UI (#7494) 2023-07-12 13:35:02 -07:00
macros.json chore: Migrate all instances of old vuelidate to new v2 syntax [CW-3274] (#9623) 2024-07-30 15:08:22 +05:30
report.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
resetPassword.json feat: Support dark mode in login pages (#7420) 2023-07-01 07:49:52 +05:30
search.json feat: Eslint rules (#9839) 2024-08-05 14:02:16 +05:30
setNewPassword.json feat: update product copy [CWM-45] (#6372) 2023-04-25 22:02:15 -07:00
settings.json feat: Generate SSO URL in Chatwoot, move Captain to primary tab (#9871) 2024-08-01 19:22:34 -07:00
signup.json feat: update product copy [CWM-45] (#6372) 2023-04-25 22:02:15 -07:00
sla.json feat: Update the design for integration page (#9825) 2024-07-24 16:35:40 -07:00
teamsSettings.json chore: Fix typo in en localisation file (#4405) 2022-04-06 20:21:19 +05:30
webhooks.json Feature: As a admin, I should be able to add webhooks to account (#572) 2020-02-29 17:43:49 +05:30
whatsappTemplates.json feat: Add support for Whatsapp template messages in the UI (#4711) 2022-06-07 17:33:33 +05:30