eslint-remote-tester-repositories
v2.0.0
Published
Shared repositories for eslint-remote-tester.config.js
Downloads
24,763
Maintainers
Readme
eslint-remote-tester-repositories
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.
Installation
# In your project directory
$ npm install --save-dev eslint-remote-tester-repositories
API
getRepositories
Get list of repositories as string[]
.
Options
randomize
:boolean
| Whether to randomize order of repositories. Defaults tofalse
.
Example
// eslint-remote-tester.config.js
const { getRepositories } = require('eslint-remote-tester-repositories');
module.exports = {
repositories: getRepositories({ randomize: true }),
...
};
getPathIgnorePattern
Get Regexp
for pathIgnorePattern
matching provided repositories.
Example
// eslint-remote-tester.config.js
const { getPathIgnorePattern } = require('eslint-remote-tester-repositories');
module.exports = {
pathIgnorePattern: getPathIgnorePattern(),
...
};