-
-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add
eslint-remote-tester
(#335)
Co-authored-by: Ari Perkkiö <[email protected]>
- Loading branch information
1 parent
7e569b7
commit d72918d
Showing
3 changed files
with
60 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,6 @@ node_modules/ | |
npm-debug.log | ||
yarn.lock | ||
.eslintcache | ||
|
||
# eslint-remote-tester | ||
eslint-remote-tester-results |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
'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, | ||
|
||
/** ESLint configuration */ | ||
eslintrc: { | ||
extends: ['plugin:eslint-plugin/all'], | ||
|
||
overrides: [ | ||
{ | ||
files: ['*.ts', '*.mts', '*.cts'], | ||
parser: '@typescript-eslint/parser', | ||
}, | ||
], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters