1.0.0 • Published 2 years ago
@devtea2025/tenetur-at-optio-voluptatem v1.0.0
@devtea2025/tenetur-at-optio-voluptatem

CLI tool to download source of a rule and fixtures from 🐊Putout Editor and generate tests from it.
Install
npm i @devtea2025/tenetur-at-optio-voluptatem -gUsage
GITHUB_TOKEN=github-token @devtea2025/tenetur-at-optio-voluptatem [putout-editor-url]@devtea2025/tenetur-at-optio-voluptatem determines where it located and does one of next things:
- if it finds
index.js- creates rule inside nested plugin; - creates directory with a plugin name and fills directories
lib,testandfixture;
example of input:
// ["off", "write-all-files"]
export const report = () => `Write all files`;
export const fix = (file) => {
const content = readFileContent(file);
writeFileContent(file, content);
};
export const scan = (root, {push}) => {
findFile(root, ['*']).map(push);
};License
MIT
1.0.0
2 years ago