@hellotellow/structured
Linting your folders, files, imports and exports.
Last updated 2 months ago by hellotellow .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @hellotellow/structured 
SYNC missed versions from official npm registry.

Structured

Linting your folders, files, imports and exports.

[Warning: This package is in development. Please use freely, but be aware newer releases will likely contain breaking changes.]

Features

  • ✅ Lint folder names: enforce code base structure
  • ✅ Lint file names: specify naming conventions
  • ✅ Lint imports: whitelist/blacklist import paths
  • ✅ Lint exports: define expected exports

Examples

See example directory for the configuration options.

Usage

yarn add --dev @hellotellow/structured

yarn structured init
edit .structuredrc.js

yarn structured lint

# That's it!

Features To Consider

  • Denying untracked imports
  • Denying untracked exports

Issues

Feel free to submit issues and enhancement requests.

Contributing

Please refer to each project's style and contribution guidelines for submitting patches and additions. In general, we follow the "fork-and-pull" Git workflow.

  1. Fork the repo on GitHub
  2. Clone the project to your own machine
  3. Commit changes to your own branch
  4. Push your work back up to your fork
  5. Submit a Pull request so that we can review your changes

NOTE: Be sure to merge the latest from "upstream" before making a pull request!

Copyright and licensing

This project is licensed under the terms of the MIT license.

Current Tags

  • 0.4.0                                ...           latest (2 months ago)

4 Versions

  • 0.4.0                                ...           2 months ago
  • 0.3.0                                ...           2 months ago
  • 0.2.0                                ...           2 months ago
  • 0.1.0                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 4
Last Month 4
Dependencies (11)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |