-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build: add eslint-plugin-node rulesets to yarn lint #1714
Conversation
@hailiu2586 I recently removed the need for EDIT: |
Yes, expression-library will goes into npm in 1 day or 2. Npm will be used as release version, but i'm expecting composer will somehow still need daily package from myget, and the correct package name for that is "botframework-expression" (so the dependency in indexers needs to be corrected) and the suggested way to refer a daily package, is through yarn.lock, as we did previously, and as Andy copied into docker. |
fixed in #1737 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Got a couple of minor changes. Can we remove the app insights code from this PR and review that separately?
launchLanguageServer(webSocket); | ||
} else { | ||
webSocket.on('open', () => { | ||
configAppInsightsAsNeeded().then(() => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@a-b-r-o-w-n does this refactor meet your requirement on how app insights get configured?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I was thinking we could add that in a separate pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ping @hailiu2586
added eslint-plugin-node ruleset to yarn lint
This allows yarn lint to scan for missing entry in package.json from use of 'import ...' in the source code (rule 'node/no-extraneous-import')
fixed the reported rule violations in tools and extensions by looking up the missing entry from yarn.lock and add those the corresponding package.json
added inline suppression of no-extraneous-require for absh specific command
The net result is that 'npm install --production' will work against packages/server/package.json, (after transform '@bfc/...: *' to '@bfc/..: {path to local .tgz}'
refs #1778
Type of change
Please delete options that are not relevant.
Checklist
Screenshots
Please include screenshots or gifs if your PR include UX changes.