Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: file system names linter #379

Merged
merged 1 commit into from
Apr 8, 2021
Merged

feat: file system names linter #379

merged 1 commit into from
Apr 8, 2021

Conversation

varl
Copy link
Contributor

@varl varl commented Apr 8, 2021

No description provided.

This introduces ls-lint to check the file system for consistent naming
of files and folders.

Installed using:

    yarn d2-style add ls-lint

Can be run individually:

    yarn d2-style check fs

If it is configured (i.e. .ls-lint.yml exists), then it will run on:

    yarn d2-style check
@varl varl changed the base branch from master to alpha April 8, 2021 11:58
@varl varl merged commit 2bfb5ef into alpha Apr 8, 2021
@varl varl deleted the ls-lint branch April 8, 2021 12:03
dhis2-bot added a commit that referenced this pull request Apr 8, 2021
# [8.0.0-alpha.8](v8.0.0-alpha.7...v8.0.0-alpha.8) (2021-04-08)

### Features

* lint file system for consistent names ([#379](#379)) ([2bfb5ef](2bfb5ef))
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 8.0.0-alpha.8 🎉

The release is available on:

Your semantic-release bot 📦🚀

dhis2-bot added a commit that referenced this pull request May 5, 2021
# [8.0.0](v7.3.0...v8.0.0) (2021-05-05)

### Bug Fixes

* allow eslint to print colors ([#384](#384)) ([c95a184](c95a184))
* ignore .d2 directory ([#386](#386)) ([6a473f2](6a473f2))
* match files from project root ([b77ef35](b77ef35))
* wrong hooks where installed by default ([#385](#385)) ([3ac82f4](3ac82f4))

### Code Refactoring

* remove husky ([752b944](752b944))

### Features

* commit check can read from a custom file ([366be0c](366be0c))
* delete deprecated configuration files ([c961647](c961647))
* lint file system for consistent names ([#379](#379)) ([2bfb5ef](2bfb5ef))
* new and improved d2-style ([#378](#378)) ([f8279e5](f8279e5))
* opt-in git hooks ([#333](#333)) ([a3bc415](a3bc415))
* show eslint warnings ([#368](#368)) ([abe4668](abe4668))

### BREAKING CHANGES

* The verb (check/apply) is now moved to the top-level.  E.g.
"d2-style js check" becomes "d2-style check js". This is to allow all checkers
to run with a single command: "d2-style check"
* "d2-style install" is no longer used to set up linters.  As of
husky@5 the tool is vastly simplified and much faster. Hooks can be installed
manually with "d2-style install", but is also run as a "post-install" script
that we control for consistency. Configuration is added to the project with the
"d2-style add" command.
* Husky has been removed from cli-style. You will need to
remove hooks that reference husky.sh in .git/hooks.
@dhis2-bot
Copy link
Contributor

🎉 This PR is included in version 8.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

2 participants