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