Skip to content

Commit

Permalink
feat: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mamboer committed Apr 12, 2019
1 parent 0aebb40 commit 093099e
Show file tree
Hide file tree
Showing 7 changed files with 13,542 additions and 12,648 deletions.
5 changes: 1 addition & 4 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
{
"presets": ["env"],
"plugins": [
"transform-runtime"
]
"presets": ["@ava/stage-4"]
}
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": 2017,
"ecmaVersion": 2018,
"sourceType": "module"
}
}
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// See http://go.microsoft.com/fwlink/?LinkId=759670
// for the documentation about the jsconfig.json format
"compilerOptions": {
"target": "es6"
"target": "es2018"
},
"exclude": [
"node_modules",
Expand Down
3 changes: 2 additions & 1 deletion libs/ignore.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

const ignore = require('ignore')
const findUp = require('find-up')
const path = require('path')
const {existsSync, readFileSync} = require('fs-extra')
const {split, map, filter, isString, some} = require('lodash')

Expand Down Expand Up @@ -47,7 +48,7 @@ class Ignore {
*/
isIgnore (str) {
if (!this.ig) return false
return this.ig.ignores(str)
return this.ig.ignores(path.relative('/',str))
}
/**
* Reset cache of the ignore file
Expand Down
Loading

0 comments on commit 093099e

Please sign in to comment.