Skip to content

Commit

Permalink
Add Travis-CI setup (#20)
Browse files Browse the repository at this point in the history
* feat: Run Travis-CI to test rule changes

* chore: npm upgrade for first-heading-level warning

* chore: Add Travis-CI badge

Minor readme formatting
  • Loading branch information
nschonni authored and Trott committed Sep 7, 2019
1 parent e5fd1c0 commit fb48277
Show file tree
Hide file tree
Showing 6 changed files with 1,347 additions and 171 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,6 @@ jspm_packages

# Optional REPL history
.node_repl_history

# Cloned nodejs/node for testing
tmp/
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: node_js

node_js: node

before_script: git clone https://github.com/nodejs/node.git tmp

script: npm run travis
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
# remark-preset-lint-node

[![Build Status](https://travis-ci.com/nodejs/remark-preset-lint-node.svg?branch=master)](https://travis-ci.com/nodejs/remark-preset-lint-node)

remark preset to configure remark-lint with settings for nodejs/node

## Install

```console
$ npm install remark-preset-lint-node
npm install remark-preset-lint-node
```

## Test

```console
$ npm test
npm test
```
Loading

0 comments on commit fb48277

Please sign in to comment.