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

ArchWiki style linter #22

Open
lahwaacz opened this issue Jul 23, 2015 · 1 comment
Open

ArchWiki style linter #22

lahwaacz opened this issue Jul 23, 2015 · 1 comment
Assignees
Milestone

Comments

@lahwaacz
Copy link
Owner

Many of the rules from Help:Style could be checked automatically. Implementation should be done in multiple phases, which correspond to different operating modes of the final script:

  1. Implement detection of some rules, print warnings to the output.
  2. The most trivial problems can be fixed automatically with appropriate edit summary, e.g. fixing capitalization of templates, spacing, replacing external links with Pkg, AUR and Bug templates, replacing code tags with ic and bc templates etc.
  3. For complex/context sensitive rules, suggestions could be generated for the user to decide. This depends on hunk-based interactive editing #13.
@lahwaacz lahwaacz self-assigned this Jul 23, 2015
@lahwaacz lahwaacz modified the milestone: someday maybe Aug 21, 2015
@lahwaacz
Copy link
Owner Author

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

No branches or pull requests

1 participant