-
Notifications
You must be signed in to change notification settings - Fork 273
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Linter is a program that checks and solves for common code problems like bad pratices, inconsistency, style issues, high complexity, duplications, etc. It's a good idea to have linters as a test case for the continuous integration system. In this commit, I've fixed the reported linting issues. For HTMLLint, Optional Tag, Concerns Seperation, and Capitalization are disabled due to concerns of unexpected behaviors. While indentation check is disabled because the file uses 4 spaces rather than 2 spaces and SpaceConsistencyBear does indentation check out of the box.
- Loading branch information
1 parent
6172e48
commit 0bfc21f
Showing
12 changed files
with
448 additions
and
373 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
[default] | ||
bears = SpaceConsistencyBear, LineLengthBear | ||
files = **.html, **.yml, **.css, **.js, **.md | ||
ignore = **.min.css, **.min.js, _site/** | ||
max_line_length = 100 | ||
use_spaces = True | ||
|
||
[html] | ||
bears = HTMLLintBear, BootLintBear | ||
files = **.html | ||
ignore = _site/** | ||
htmllint_ignore = indentation, optional_tag, concerns_separation, capitalization | ||
|
||
[yaml] | ||
bears = YAMLLintBear | ||
files = **.yml | ||
yamllint_config = .yamllint | ||
|
||
[css] | ||
bears = PHPCodeSnifferBear | ||
files = **.css | ||
ignore = **.min.css, _site/** | ||
|
||
[js] | ||
bears = JSHintBear | ||
files = **.js | ||
ignore = **.min.js, _site/** | ||
environment_jquery = True | ||
javascript_strictness = implied |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
language: ruby | ||
services: docker | ||
rvm: | ||
- 2.3.3 | ||
install: | ||
install: | ||
- bundle install | ||
script: | ||
- bundle exec jekyll build | ||
branches: | ||
only: | ||
- gh-pages | ||
|
||
- docker run --volume=$(pwd):/app --workdir=/app coala/base coala -C |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
rules: | ||
line-length: disable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,22 @@ | ||
# gci16.fossasia.org | ||
[](https://travis-ci.org/fossasia/gci16.fossasia.org) | ||
[] | ||
(https://travis-ci.org/fossasia/gci16.fossasia.org) | ||
|
||
The student site for GCI 2016 Students. | ||
|
||
# Blog Post | ||
|
||
To add your blog post, you need to open the file `blogs.yml` in `_data` folder. Maintain the following | ||
format to enter your blog in this website. | ||
To add your blog post, you need to open the file `blogs.yml` in `_data` folder. Maintain the | ||
following format to enter your blog in this website. | ||
|
||
``` | ||
- name: Your name | ||
blog: https://yourbloglink.com | ||
blog_img: your_image | ||
article: Article title | ||
article_link: https://yourarticlelink.com | ||
``` | ||
``` | ||
|
||
**Important: The image should be added in images folder, and `your_image` should be the file's name, for example 'mypost.png'** | ||
**Important: The image should be added in images folder, and `your_image` should be the file's | ||
name, for example 'mypost.png'** | ||
Also adding article and article_link is optional, unless your task recommends it. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
|
||
- name: Ridhwanul Haque | ||
blog: https://rhemon.github.io/blog | ||
blog_img: rhemon-blog.png | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#New members please add your credentials to the bottom of the file. | ||
# New members please add your credentials to the bottom of the file. | ||
|
||
- name: Oana Rosca | ||
github: oanarosca | ||
|
@@ -107,6 +107,8 @@ | |
facebook: https://facebook.com/ridhwanul.haque | ||
email: [email protected] | ||
bio: 17 years old, Programmer, Web/Android Designer and Developer, Bangladeshi | ||
blog: https://rhemon.github.io/blog | ||
blog_img: rhemon-blog.png | ||
|
||
- name: Victoria Juan | ||
github: vickyjjj | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,10 @@ | ||
$(function(){ | ||
|
||
$.ajax({ | ||
url: "https://api.github.com/repos/fossasia/gci16.fossasia.org/contributors" | ||
}).done(function(data){ | ||
data.forEach(function(contributors){ | ||
$("#contributors-list").append("<div><img src="+contributors.avatar_url+"><a href="+contributors.html_url+"><i class='fa fa-github fa-2x gh-icon' aria-hidden='true'></i></a><p>"+contributors.login+"</p></div>"); | ||
|
||
}); | ||
}); | ||
|
||
$.ajax({ | ||
url: "https://api.github.com/repos/fossasia/gci16.fossasia.org/contributors" | ||
}).done(function(data){ | ||
data.forEach(function(contributors){ | ||
// Ignore LineLengthBear | ||
$("#contributors-list").append("<div><img src="+contributors.avatar_url+"><a href="+contributors.html_url+"><i class='fa fa-github fa-2x gh-icon' aria-hidden='true'></i></a><p>"+contributors.login+"</p></div>"); | ||
}); | ||
}); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.