Skip to content

Commit

Permalink
Merge pull request #986 from benoit-rolandeau-act/985-add-htaccess-an…
Browse files Browse the repository at this point in the history
…d-npmrc-support

Add .htaccess and .npmrc support
  • Loading branch information
carmenbianca committed May 17, 2024
2 parents a14d062 + 5c22b9f commit 084fd93
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ CLI command and its behaviour. There are no guarantees of stability for the
- Cargo (`Cargo.lock`) (#937)
- Clang-Tidy (`.clang-tidy`) (#961)
- Java `.properties` files (#968)
- Apache HTTP server config `.htaccess` files (#985)
- npm `.npmrc` files (#985)
- Added comment styles:
- `man` for UNIX Man pages (`.man`) (#954)

Expand Down
2 changes: 2 additions & 0 deletions src/reuse/comment.py
Original file line number Diff line number Diff line change
Expand Up @@ -842,10 +842,12 @@ class XQueryCommentStyle(CommentStyle):
".gitattributes": PythonCommentStyle,
".gitignore": PythonCommentStyle,
".gitmodules": PythonCommentStyle,
".htaccess": PythonCommentStyle,
".mailmap": PythonCommentStyle,
".metadata": UncommentableCommentStyle,
".mdlrc": PythonCommentStyle, # Markdown-linter config
".npmignore": PythonCommentStyle,
".npmrc": SemicolonCommentStyle,
".prettierrc": UncommentableCommentStyle, # could either be JSON or YAML
".prettierignore": PythonCommentStyle,
".pylintrc": PythonCommentStyle,
Expand Down

0 comments on commit 084fd93

Please sign in to comment.