raymondjavaxx / swearjar-node

Profanity detection and filtering library.
MIT License
73 stars 33 forks source link

getting `request of a dependency is an expression` warning #14

Open ghartong opened 7 years ago

ghartong commented 7 years ago

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.

HappyZombies commented 7 years ago

Same, be nice if this were fixed.

k11kirky commented 6 years ago

+1