project-config’s documentation
Project configuration linter. Enforce the same set of settings between multiple projects.
Quickstart
- Installation
- Basic usage
- Examples
- Basic usage
- project-config self configuration
- Files absence
- Conditionals
- Intercommunication between rules
- Compare values between files
- JMESPath against online sources
- Assert root directory name
- TOML sections order
- Editing a .gitignore file
- Replacing code blocks languages in RST documents
- Autofixing .editorconfig
- Setting hooks in .pre-commit-config.yaml
- Tutorials
Reference
- project-config CLI
- Configuration
- Styling
- Plugins
- inclusion
- existence
- jmespath
starts_with()ends_with()regex_match()regex_matchall()regex_search()regex_sub()regex_escape()os()getenv()setenv()rootdir_name()op()shlex_split()shlex_join()round()range()count()find()isalnum()isalpha()isascii()isdecimal()isdigit()isidentifier()islower()isnumeric()isprintable()isspace()istitle()isupper()lower()lstrip()partition()rfind()rpartition()rsplit()split()splitlines()swapcase()title()upper()zfill()enumerate()to_items()from_items()isfile()isdir()exists()listdir()mkdir()rmdir()glob()update()insert()deepmerge()set()unset()replace()removeprefix()removesuffix()format()strip()rstrip()capitalize()casefold()center()ljust()rjust()gh_tags()- JMESPathsMatch
- crossJMESPathsMatch
- ifJMESPathsMatch
- pre-commit
- Using on CI
In depth
For developers
Tip
You can see other versions of this documentation using URLs like
https://mondeja.github.io/project-config/<version>.