Skip to content

Commit

Permalink
Fix lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
danishi committed Jun 9, 2024
1 parent 19c99ce commit 946d1f1
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 12 deletions.
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
root = true

[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
2 changes: 2 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* text=auto eol=lf
README.md merge=union
27 changes: 16 additions & 11 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
name: CI
on:
[push, pull_request]
jobs:
Awesome_Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- run: npx awesome-lint
name: CI
on:
[push, pull_request]
jobs:
Awesome_Lint:
runs-on: ubuntu-latest
timeout-minutes: 5

steps:
- name: Checkout 🔔
uses: actions/checkout@4
with:
fetch-depth: 0

- name: Run linter 👀
run: npx awesome-lint
20 changes: 20 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Contribution Guidelines

Please note that this project is released with a [Contributor Code of Conduct](https://github.com/danishi/.github/blob/master/CODE_OF_CONDUCT.md). By participating in this project you agree to abide by its terms.

## Adding something to an awesome list

If you have something awesome to contribute to an awesome list, this is how you do it.

You'll need a [GitHub account](https://github.com/join)!

1. Access the awesome list's GitHub page. For example: https://github.com/danishi/awesome-generative-ai-use-case
2. Click on the `README.md` file https://github.com/danishi/awesome-generative-ai-use-case/blob/main/README.md
3. Now click on the edit icon.
4. You can start editing the text of the file in the in-browser editor. Make sure you follow the guidelines above. You can use [GitHub Flavored Markdown](https://help.github.com/articles/github-flavored-markdown/).
5. Say why you're proposing the changes, and then click on "Propose file change".
6. Submit the [pull request](https://help.github.com/articles/using-pull-requests/)!

## Updating your Pull Request

Sometimes the awesome list maintainers will ask you to edit your pull request before adding it, this is usually due to a spelling mistake or the PR not passing awesome-lint.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Case studies from a variety of industries may bring new discoveries and inspirat

Contributions welcome!

## Table of Contents
## Contents

- [Marketing and Advertising](#marketing-and-advertising)
- [Manufacturing](#manufacturing)
Expand Down

0 comments on commit 946d1f1

Please sign in to comment.