$ cnpm install @putout/operator-sort-ignore
????Putout operator simplify ability to create plugins that sorts ignore.
npm i putout @putout/operator-sort-ignore
node_modules
*.swp
yarn-error.log
yarn.lock
.idea
.DS_Store
deno.lock
coverage
.filesystem.json
.idea
.filesystem.json
.DS_Store
*.swp
yarn-error.log
yarn.lock
deno.lock
node_modules
coverage
sortIgnoreimport {operator} from 'putout';
const {sortIgnore} = operator;
export const {
report,
fix,
traverse,
} = sortIgnore({
name: '.gitignore',
});
typeimport {operator} from 'putout';
const {__json, sortIgnore} = operator;
export const {
report,
fix,
traverse,
} = sortIgnore({
type: __json,
name: '.nycrc.json',
field: 'exclude',
});
MIT
Copyright 2013 - present © cnpmjs.org | Home |