How to use the ignore.ignore function in ignore

To help you get started, we’ve selected a few ignore examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mattfysh / testr.js / spec / testr.config.spec.js View on Github external
it('ignores specified modules, using actual from requirejs', function() {
		var module = require('ignore');
		expect(module.ignore).toBe(true);
		module.newprop = 'a';
		module = testr('ignore');
		expect(module.newprop).toBe('a');
	});

ignore

Ignore is a manager and filter for .gitignore rules, the one used by eslint, gitbook and many others.

MIT
Latest version published 2 months ago

Package Health Score

83 / 100
Full package analysis