Skip to content
Permalink
Browse files

fix: build before test

  • Loading branch information...
mattgoucher committed Sep 14, 2016
1 parent d11ed82 commit 3e7a704540cdf28f9f5496e71e5136459bdef358
Showing with 7 additions and 5 deletions.
  1. +1 −0 .gitignore
  2. +1 −0 .npmignore
  3. +2 −2 lib/rules/loosely-restrict-imports.js
  4. +1 −1 package.json
  5. +2 −2 src/rules/loosely-restrict-imports.js
@@ -1 +1,2 @@
node_modules/
.npm-debug.log
@@ -2,3 +2,4 @@ src
tests
.eslintrc
.babelrc
.npm-debug.log
@@ -48,8 +48,8 @@ module.exports = {
return {};
}

context.report(node, "'{{importName}}' import is restricted from being used.", {
importName: value
context.report(node, "'{{importStatement}}' import is restricted from being used.", {
importStatement: importStatement
});
});
}
@@ -12,7 +12,7 @@
"scripts": {
"build": "babel src -d lib",
"test": "mocha --compilers js:babel-register tests --recursive",
"prerelease": "npm run test && npm run build",
"prerelease": "npm run build && npm run test",
"release": "standard-version"
},
"repository": {
@@ -46,8 +46,8 @@ module.exports = {
return {};
}

context.report(node, "'{{importName}}' import is restricted from being used.", {
importName: value
context.report(node, "'{{importStatement}}' import is restricted from being used.", {
importStatement
});
});
}

0 comments on commit 3e7a704

Please sign in to comment.
You can’t perform that action at this time.