mirror of
https://github.com/sdmg15/Best-websites-a-programmer-should-visit.git
synced 2025-08-01 02:10:13 +02:00
new: dev: awesome linter
This commit is contained in:
15
.travis.yml
Normal file
15
.travis.yml
Normal 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
8
package.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"scripts": {
|
||||
"test": "awesome-lint"
|
||||
},
|
||||
"devDependencies": {
|
||||
"awesome-lint": "*"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user