Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coala configuration file and add script in package.json #35

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .coafile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[cli]
bears = SpaceConsistencyBear
files = **/*.js
use_spaces = true
1 change: 1 addition & 0 deletions .coarc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ignore = node_modules/
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add newline

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@aashutoshrathi Ok if we want to use coala its fine.I will make the change then you can merge the PR.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
"version": "0.1.0",
"description": "Portal to get an invite to IIITV Github organization",
"scripts": {
"start": "node server.js"
"start": "node server.js",
"lint":"coala --files=**/*.js --bears=SpaceConsistencyBear --save"
},
"dependencies": {
"axios": "^0.18.0",
Expand Down