Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 1 | module.exports = { |
| 2 | root: true, |
| 3 | env: { |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 4 | node: true, |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 5 | }, |
Ed Tanous | 9c72979 | 2024-03-23 14:56:34 -0700 | [diff] [blame] | 6 | extends: [ |
| 7 | 'plugin:vue/vue3-recommended', |
| 8 | 'eslint:recommended', |
| 9 | '@vue/prettier', |
| 10 | ], |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 11 | rules: { |
Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame] | 12 | 'no-console': 'off', |
Derick Montague | e2fd156 | 2019-12-20 13:26:53 -0600 | [diff] [blame] | 13 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off', |
| 14 | 'prettier/prettier': [ |
| 15 | 'error', |
| 16 | { |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 17 | singleQuote: true, |
Ed Tanous | 9c72979 | 2024-03-23 14:56:34 -0700 | [diff] [blame] | 18 | trailingComma: 'all', |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 19 | }, |
Derick Montague | 09e45cd | 2020-01-23 15:45:57 -0600 | [diff] [blame] | 20 | ], |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 21 | 'vue/component-name-in-template-casing': ['error', 'kebab-case'], |
Ed Tanous | a0c2920 | 2024-02-27 10:12:25 -0800 | [diff] [blame] | 22 | 'vue/multi-word-component-names': 'off', |
Ed Tanous | 9c72979 | 2024-03-23 14:56:34 -0700 | [diff] [blame] | 23 | 'vue/no-deprecated-filter': 'off', |
| 24 | 'vue/no-useless-template-attributes': 'off', |
| 25 | 'vue/no-deprecated-props-default-this': 'off', |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 26 | }, |
Ed Tanous | a0c2920 | 2024-02-27 10:12:25 -0800 | [diff] [blame] | 27 | parser: 'vue-eslint-parser', |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 28 | overrides: [ |
| 29 | { |
| 30 | files: [ |
Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame] | 31 | '**/__tests__/*.{j,t}s?(x)', |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 32 | '**/tests/unit/**/*.spec.{j,t}s?(x)', |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 33 | ], |
| 34 | env: { |
Derick Montague | 602e98a | 2020-10-21 16:20:00 -0500 | [diff] [blame] | 35 | jest: true, |
| 36 | }, |
| 37 | }, |
| 38 | ], |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 39 | }; |