3.0.0 • Published 8 months ago

@putout/operator-ignore v3.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@putout/operator-ignore NPM version

🐊Putout operator simplify ability to create Ignore-plugins.

Install

npm i putout @putout/operator-ignore

API

__ignore

const {operator, ignore} = require('putout');
const {__ignore} = operator;

module.exports = ignore(__ignore, {
    name: '.npmignore',
    field: 'exclude',
    list: [
        '.*',
        'yarn-error.log',
        'coverage',
        '*.config.*',
    ],
});

__json

const {operator, ignore} = require('putout');
const {__json} = operator;

module.exports = ignore(__json, {
    name: '.nycrc.json',
    field: 'exclude',
    list: ['*.config.*'],
});

License

MIT

3.0.0

8 months ago

2.0.0

12 months ago

1.3.0

1 year ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago