|
| 1 | +'use strict'; |
| 2 | + |
| 3 | +/** @type {import('eslint-remote-tester').Config} */ |
| 4 | +module.exports = { |
| 5 | + /** Repositories to scan */ |
| 6 | + repositories: [ |
| 7 | + // A few dozen top ESLint plugins. |
| 8 | + 'Intellicode/eslint-plugin-react-native', |
| 9 | + 'JoshuaKGoldberg/eslint-plugin-expect-type', |
| 10 | + 'SonarSource/eslint-plugin-sonarjs', |
| 11 | + 'avajs/eslint-plugin-ava', |
| 12 | + 'cypress-io/eslint-plugin-cypress', |
| 13 | + 'dangreenisrael/eslint-plugin-jest-formatting', |
| 14 | + 'ember-cli/eslint-plugin-ember', |
| 15 | + 'emberjs/eslint-plugin-ember-internal', |
| 16 | + 'eslint-community/eslint-plugin-eslint-plugin', |
| 17 | + 'eslint-community/eslint-plugin-n', |
| 18 | + 'eslint-community/eslint-plugin-promise', |
| 19 | + 'eslint-community/eslint-plugin-security', |
| 20 | + 'eslint-functional/eslint-plugin-functional', |
| 21 | + 'eslint/eslint', |
| 22 | + 'import-js/eslint-plugin-import', |
| 23 | + 'jest-community/eslint-plugin-jest', |
| 24 | + 'jest-community/eslint-plugin-jest-extended', |
| 25 | + 'jsx-eslint/eslint-plugin-jsx-a11y', |
| 26 | + 'jsx-eslint/eslint-plugin-react', |
| 27 | + 'lo1tuma/eslint-plugin-mocha', |
| 28 | + 'ota-meshi/eslint-plugin-regexp', |
| 29 | + 'platinumazure/eslint-plugin-qunit', |
| 30 | + 'sindresorhus/eslint-plugin-unicorn', |
| 31 | + 'square/eslint-plugin-square', |
| 32 | + 'storybookjs/eslint-plugin-storybook', |
| 33 | + 'testing-library/eslint-plugin-jest-dom', |
| 34 | + 'testing-library/eslint-plugin-testing-library', |
| 35 | + 'typescript-eslint/typescript-eslint', |
| 36 | + ], |
| 37 | + |
| 38 | + /** Extensions of files under scanning */ |
| 39 | + extensions: ['js', 'mjs', 'cjs', 'ts', 'mts', 'cts'], |
| 40 | + |
| 41 | + /** Optional boolean flag used to enable caching of cloned repositories. For CIs it's ideal to disable caching. Defaults to true. */ |
| 42 | + cache: false, |
| 43 | + |
| 44 | + /** ESLint configuration */ |
| 45 | + eslintrc: { |
| 46 | + extends: ['plugin:eslint-plugin/all'], |
| 47 | + |
| 48 | + overrides: [ |
| 49 | + { |
| 50 | + files: ['*.ts', '*.mts', '*.cts'], |
| 51 | + parser: '@typescript-eslint/parser', |
| 52 | + }, |
| 53 | + ], |
| 54 | + }, |
| 55 | +}; |
0 commit comments