Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 1 | module.exports = { |
| 2 | root: true, |
| 3 | env: { |
| 4 | node: true |
| 5 | }, |
Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame^] | 6 | extends: ['plugin:vue/essential', '@vue/prettier'], |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 7 | rules: { |
Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame^] | 8 | 'no-console': 'off', |
| 9 | 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off' |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 10 | }, |
| 11 | parserOptions: { |
Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame^] | 12 | parser: 'babel-eslint' |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 13 | }, |
| 14 | overrides: [ |
| 15 | { |
| 16 | files: [ |
Derick Montague | fded0d1 | 2019-12-11 06:16:40 -0600 | [diff] [blame^] | 17 | '**/__tests__/*.{j,t}s?(x)', |
| 18 | '**/tests/unit/**/*.spec.{j,t}s?(x)' |
Derick Montague | a2988f4 | 2020-01-17 13:46:30 -0600 | [diff] [blame] | 19 | ], |
| 20 | env: { |
| 21 | jest: true |
| 22 | } |
| 23 | } |
| 24 | ] |
| 25 | }; |