Shared repositories for eslint-remote-tester.config.js
Utilities for making it easier to configure repositories for eslint-remote-tester.config.js
.
Provides over 10K GitHub hosted repositories.
# In your project directory
$ npm install --save-dev eslint-remote-tester-repositories
Get list of repositories as string[]
.
-
randomize
:boolean
| Whether to randomize order of repositories. Defaults tofalse
.
// eslint-remote-tester.config.js
const { getRepositories } = require('eslint-remote-tester-repositories');
module.exports = {
repositories: getRepositories({ randomize: true }),
...
};
Get Regexp
for pathIgnorePattern
matching provided repositories.
// eslint-remote-tester.config.js
const { getPathIgnorePattern } = require('eslint-remote-tester-repositories');
module.exports = {
pathIgnorePattern: getPathIgnorePattern(),
...
};