new: dev: awesome linter

This commit is contained in:
rachmadaniHaryono
2017-06-07 18:37:41 +08:00
parent 09d5051789
commit 29d3cd733c
2 changed files with 23 additions and 0 deletions

15
.travis.yml Normal file
View File

@@ -0,0 +1,15 @@
language: ruby
node_js:
- 'node'
rvm:
- 2.2
env:
- TRAVIS_NODE_VERSION="7"
install:
- rm -rf ~/.nvm && git clone https://github.com/creationix/nvm.git ~/.nvm && (cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`) && source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION
- npm install
before_script:
- gem install awesome_bot
- npm install --global awesome-lint
script:
- awesome_bot README.md

8
package.json Normal file
View File

@@ -0,0 +1,8 @@
{
"scripts": {
"test": "awesome-lint"
},
"devDependencies": {
"awesome-lint": "*"
}
}