Skip to content

Commit a3ef738

Browse files
committed
Add .coafile
Add a coala's job Fix lint error in README.md Add remark packages to package.json Closes #31
1 parent d74c0cf commit a3ef738

File tree

6 files changed

+469
-18
lines changed

6 files changed

+469
-18
lines changed

.coafile

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
[all]
2+
ignore = node_modules/**, bower_components/**, dist/**, tmp/**, .git/**
3+
4+
[all.SpaceConsistencyBear]
5+
files = **.js, **.json, **.yml, **.md
6+
bears = SpaceConsistencyBear
7+
use_spaces = true
8+
9+
[all.json]
10+
bears = JSONFormatBear
11+
files = **.json
12+
indent_size = 2
13+
14+
[all.js]
15+
bears = ESLintBear
16+
eslint_config = .eslintrc.js
17+
files = **.js
18+
# See https://github.com/coala/coala-bears/issues/2533
19+
ignore = .eslintrc.js
20+
21+
[all.markdown]
22+
bears = MarkdownBear
23+
files = **.md
24+
bullets = *
25+
26+
[all.yaml]
27+
bears = YAMLLintBear
28+
files = **.yml, **.yaml

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/*global module*/
12
module.exports = {
23
root: true,
34
parserOptions: {

.travis.yml

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sudo: false
88
cache:
99
directories:
1010
- $HOME/.npm
11-
- $HOME/.cache # includes bowers cache
11+
- $HOME/.cache # includes bowers cache
1212

1313
.disable_global: &disable_global
1414
node_js: false
@@ -33,6 +33,19 @@ jobs:
3333
install: pip install moban
3434
script: .ci/check_moban.sh
3535

36+
- <<: *disable_global
37+
stage: lint
38+
language: python
39+
python: 3.6
40+
cache: pip
41+
before_install:
42+
- export PATH=$PATH:./node_modules/.bin
43+
- export NODE_PATH=$NODE_PATH:./node_modules
44+
install:
45+
- pip install coala-bears
46+
- npm install
47+
script: coala --non-interactive -V
48+
3649
before_install:
3750
- npm config set spin false
3851

@@ -52,7 +65,7 @@ deploy:
5265
provider: pages
5366
skip_cleanup: true
5467
github_token: $GITHUB_TOKEN
55-
on:
68+
"on":
5669
branch: master
5770
local_dir: dist
5871
name: Yana Agun Siswanto

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@
33
Tools for searching issues on github. It can be filtered out only to return issues that suitable for you to contribute.
44

55
## TO DO
6+
67
See more at [Project#1](https://github.com/bekicot/gsoc-prep-tasks/projects/1)
7-
- Adding more link for GSOC Organizations. See [Add a easy selector for GSOC org](https://github.com/bekicot/gsoc-prep-tasks/issues/6).
8+
9+
* Adding more link for GSOC Organizations. See [Add a easy selector for GSOC org](https://github.com/bekicot/gsoc-prep-tasks/issues/6).
810

911
## Prerequisites
1012

@@ -26,8 +28,7 @@ You will need the following things properly installed on your computer.
2628
## Running / Development
2729

2830
* `ember serve`
29-
* Visit your app at [http://localhost:4200](http://localhost:4200).
30-
31+
* Visit your app at <http://localhost:4200>.
3132

3233
### Running Tests
3334

@@ -39,7 +40,6 @@ You will need the following things properly installed on your computer.
3940
* `ember build` (development)
4041
* `ember build --environment production` (production)
4142

42-
4343
## Further Reading / Useful Links
4444

4545
* [ember.js](http://emberjs.com/)

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@
4242
"ember-maybe-import-regenerator": "^0.1.6",
4343
"ember-paper": "^1.0.0-alpha.19",
4444
"ember-source": "~3.1.0",
45+
"eslint": "^4.19.1",
4546
"eslint-plugin-ember": "^5.0.0",
4647
"github-api": "https://github.com/github-tools/github/archive/v3.1.0.tar.gz",
47-
"loader.js": "^4.2.3"
48+
"loader.js": "^4.2.3",
49+
"remark": "^9.0.0",
50+
"remark-cli": "^5.0.0",
51+
"remark-lint": "^6.0.2"
4852
},
4953
"engines": {
5054
"node": "^4.5 || 6.* || >= 7.*"

0 commit comments

Comments
 (0)