Skip to content

Commit

Permalink
Merge pull request #1 from NipunaRanasinghe/init
Browse files Browse the repository at this point in the history
Add initial project structure and content
  • Loading branch information
NipunaRanasinghe authored Apr 20, 2024
2 parents 21c8f2c + c47d49a commit 8622729
Show file tree
Hide file tree
Showing 10 changed files with 462 additions and 1 deletion.
191 changes: 191 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,191 @@
## GITATTRIBUTES FOR WEB PROJECTS
#
# These settings are for any web project.
#
# Details per file setting:
# text These files should be normalized (i.e. convert CRLF to LF).
# binary These files are binary and should be left untouched.
#
# Note that binary is a macro for -text -diff.
######################################################################

## AUTO-DETECT
## Handle line endings automatically for files detected as
## text and leave all files detected as binary untouched.
## This will handle all files NOT defined below.
* text=auto

## SOURCE CODE
*.bat text eol=crlf
*.coffee text
*.css text
*.htm text
*.html text
*.inc text
*.ini text
*.js text
*.json text
*.jsx text
*.less text
*.od text
*.onlydata text
*.php text
*.pl text
*.py text
*.rb text
*.sass text
*.scm text
*.scss text
*.sh text eol=lf
*.sql text
*.styl text
*.tag text
*.ts text
*.tsx text
*.xml text
*.xhtml text

## DOCKER
*.dockerignore text
Dockerfile text

## DOCUMENTATION
*.markdown text
*.md text
*.mdwn text
*.mdown text
*.mkd text
*.mkdn text
*.mdtxt text
*.mdtext text
*.txt text
AUTHORS text
CHANGELOG text
CHANGES text
CONTRIBUTING text
COPYING text
copyright text
*COPYRIGHT* text
INSTALL text
license text
LICENSE text
NEWS text
readme text
*README* text
TODO text

## TEMPLATES
*.dot text
*.ejs text
*.haml text
*.handlebars text
*.hbs text
*.hbt text
*.jade text
*.latte text
*.mustache text
*.njk text
*.phtml text
*.tmpl text
*.tpl text
*.twig text

## LINTERS
.csslintrc text
.eslintrc text
.htmlhintrc text
.jscsrc text
.jshintrc text
.jshintignore text
.stylelintrc text

## CONFIGS
*.bowerrc text
*.cnf text
*.conf text
*.config text
.browserslistrc text
.editorconfig text
.gitattributes text
.gitconfig text
.htaccess text
*.npmignore text
*.yaml text
*.yml text
browserslist text
Makefile text
makefile text

## HEROKU
Procfile text
.slugignore text

## GRAPHICS
*.ai binary
*.bmp binary
*.eps binary
*.gif binary
*.ico binary
*.jng binary
*.jp2 binary
*.jpg binary
*.jpeg binary
*.jpx binary
*.jxr binary
*.pdf binary
*.png binary
*.psb binary
*.psd binary
*.svg text
*.svgz binary
*.tif binary
*.tiff binary
*.wbmp binary
*.webp binary

## AUDIO
*.kar binary
*.m4a binary
*.mid binary
*.midi binary
*.mp3 binary
*.ogg binary
*.ra binary

## VIDEO
*.3gpp binary
*.3gp binary
*.as binary
*.asf binary
*.asx binary
*.fla binary
*.flv binary
*.m4v binary
*.mng binary
*.mov binary
*.mp4 binary
*.mpeg binary
*.mpg binary
*.ogv binary
*.swc binary
*.swf binary
*.webm binary

## ARCHIVES
*.7z binary
*.gz binary
*.jar binary
*.rar binary
*.tar binary
*.zip binary

## FONTS
*.ttf binary
*.eot binary
*.otf binary
*.woff binary
*.woff2 binary

## EXECUTABLES
*.exe binary
*.pyc binary
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/suggestion.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Suggestion
description: Help us improve with suggestions
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this suggestion form!
- type: input
id: suggestion
attributes:
label: Link to suggestion
description: Please share a link to your suggestion
placeholder: https://...
validations:
required: true
- type: textarea
id: description
attributes:
label: Describe your suggesiton
description: How and why is your suggestion useful to this community?
placeholder: I wish to see tool <xyz> here becuase it is used for...
validations:
required: true
45 changes: 45 additions & 0 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: lint
on:
pull_request:
push:
branches:
- main

jobs:
awesome-lint:
strategy:
fail-fast: false
matrix:
files:
- "README.md"
runs-on: ubuntu-latest
steps:
- name: "checkout repo"
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: asdf_install
uses: asdf-vm/actions/install@v1
- name: "linting: ${{ matrix.files }}"
run: npx -y awesome-lint ${{ matrix.files }}
awesome-bot:
strategy:
fail-fast: false
matrix:
files:
- "README.md"
runs-on: ubuntu-latest
steps:
- name: "checkout repo"
uses: actions/checkout@v2.0.0
with:
fetch-depth: 0
- name: "setup ruby"
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.0.1
bundler-cache: true
- name: "install awesome-bot"
run: gem install awesome_bot
- name: "linting: ${{ matrix.files }}"
run: awesome_bot --allow-redirect ${{ matrix.files }}
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.DS_Store

docs/index.md
site/

.idea/
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 21.6.0
Loading

0 comments on commit 8622729

Please sign in to comment.