Skip to content
This repository has been archived by the owner on Sep 2, 2020. It is now read-only.

Linting your folders, files, imports and exports.

License

Notifications You must be signed in to change notification settings

hellotellow/node-structured

Repository files navigation

Structured Logo

Linting your folders, files, imports and exports.


Warning: This package is under 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 and packages
  • ✅ Lint exports: define expected export types and names

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!

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.

About

Linting your folders, files, imports and exports.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published