[eslint] Fix commonjs module config
| @@ -21,6 +21,15 @@ module.exports = { | ||
| 21 | 21 | }, |
| 22 | 22 | }, |
| 23 | 23 | { |
| 24 | + files: ['*.cjs'], | |
| 25 | + parserOptions: { | |
| 26 | + sourceType: 'commonjs', | |
| 27 | + }, | |
| 28 | + env: { | |
| 29 | + node: true, | |
| 30 | + }, | |
| 31 | + }, | |
| 32 | + { | |
| 24 | 33 | files: ['src/**/*.mjs'], |
| 25 | 34 | parserOptions: { |
| 26 | 35 | sourceType: 'module', |
| @@ -74,6 +83,7 @@ module.exports = { | ||
| 74 | 83 | 'docker/**', |
| 75 | 84 | 'plugins/**', |
| 76 | 85 | '**/*.min.js', |
| 86 | + 'public/scripts/extensions/quick-reply/lib/**', | |
| 77 | 87 | ], |
| 78 | 88 | rules: { |
| 79 | 89 | 'no-unused-vars': ['error', { args: 'none' }], |