Skip to content

Commit

Permalink
Merge pull request #25 from dustinspecker/greenkeeper-eslint-config-d…
Browse files Browse the repository at this point in the history
…ustinspecker-0.5.0

Update eslint-config-dustinspecker to version 0.5.0 🚀
  • Loading branch information
dustinspecker committed Apr 15, 2016
2 parents 7bd66a0 + e00468b commit ca54408
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -30,7 +30,7 @@
"babel-preset-es2015": "^6.0.12",
"coveralls": "^2.11.1",
"del": "^2.0.2",
"eslint-config-dustinspecker": "^0.4.1",
"eslint-config-dustinspecker": "^0.5.0",
"eslint-plugin-new-with-error": "^1.1.0",
"eslint-plugin-no-use-extend-native": "^0.3.1",
"gulp": "^3.9.0",
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Expand Up @@ -8,5 +8,6 @@
*/
module.exports = function (fileContents, dependency) {
const regex = new RegExp(`[.]module[^$]*'[^$]*', \\[[^$]*'${dependency}'[^$]*\\]`)

return regex.test(fileContents)
}

0 comments on commit ca54408

Please sign in to comment.