Skip to content

Commit

Permalink
add editorconfig (#323)
Browse files Browse the repository at this point in the history
  • Loading branch information
vintagesucks authored Jan 21, 2025
1 parent 86f8d42 commit af34b47
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 4 deletions.
12 changes: 12 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 2
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}

- name: Autobuild
uses: github/codeql-action/autobuild@v3

Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
node_modules
node_modules
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ act --job build \
--workflows .github/workflows/nodejs.yml \
--platform ubuntu-latest=shivammathur/node:latest \
--container-architecture linux/amd64
```
```
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ const page = await getRandomPage(user);
const results = await getStars(user, page);
const result = results[random.int(0, results.length - 1)];

console.log(kleur.green().bold(`https://github.com/${result.owner}/${result.repo}`));
console.log(kleur.green().bold(`https://github.com/${result.owner}/${result.repo}`));

0 comments on commit af34b47

Please sign in to comment.