swearjar-node icon indicating copy to clipboard operation
swearjar-node copied to clipboard

getting `request of a dependency is an expression` warning

Open ghartong opened this issue 7 years ago • 2 comments

swearjar.js line 67 throwing "request of a dependency is an expression" linter warning.

"swearjar": "^0.2.0", "react": "^15.3.1",

based on this: https://github.com/webpack/webpack-dev-server/issues/212 I changed line 67 to this._badWords = require('' + fullPath); and all is well.

ghartong avatar Jun 06 '17 20:06 ghartong

Same, be nice if this were fixed.

HappyZombies avatar Jun 20 '17 14:06 HappyZombies

+1

k11kirky avatar Oct 18 '17 13:10 k11kirky