This repository was archived by the owner on Jul 9, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 376
feat: change source of packages from local feed to live npm/nuget feed #5516
Merged
Merged
Changes from 10 commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
69a786a
change source of feeds from local feed to live npm/nuget feed
benbrown f035301
fixes to formatting
benbrown 03d1adf
Merge branch 'main' into benbrown/packagefeeds
benbrown 126ae0d
Merge branch 'main' into benbrown/packagefeeds
benbrown 3e135ac
update feed urls
benbrown 855c9a2
Merge branch 'main' into benbrown/packagefeeds
benbrown cf7baf6
Merge branch 'main' of https://github.com/microsoft/BotFramework-Comp…
benbrown 29ab16e
Merge branch 'benbrown/packagefeeds' of https://github.com/microsoft/…
benbrown 214773e
Apply linting and prettification rules
benbrown 0361374
address feedback from peers
benbrown 3df4c02
Merge branch 'main' into benbrown/packagefeeds
benbrown fa10bcd
remove unnecessary deps
benbrown 1e15636
Merge branch 'main' of https://github.com/microsoft/BotFramework-Comp…
benbrown d88e2ae
Merge branch 'benbrown/packagefeeds' of https://github.com/microsoft/…
benbrown 12fd46f
Merge branch 'main' into benbrown/packagefeeds
benbrown File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,126 @@ | ||
| // Copyright (c) Microsoft Corporation. | ||
| // Licensed under the MIT License. | ||
|
|
||
| module.exports = { | ||
| extends: [ | ||
| 'eslint:recommended', | ||
| 'plugin:prettier/recommended', | ||
| 'plugin:@typescript-eslint/recommended', | ||
| 'plugin:@typescript-eslint/eslint-recommended', | ||
| 'prettier/@typescript-eslint', | ||
| ], | ||
| plugins: ['import', 'notice', 'security', 'lodash'], | ||
| env: { | ||
| browser: true, | ||
| es6: true, | ||
| node: true, | ||
| }, | ||
| rules: { | ||
| 'notice/notice': [ | ||
| 'error', | ||
| { | ||
| mustMatch: 'Copyright \\(c\\) Microsoft Corporation', | ||
| templateFile: require.resolve('./license.js'), | ||
| }, | ||
| ], | ||
|
|
||
| // typescript | ||
| '@typescript-eslint/ban-ts-ignore': 'warn', | ||
| '@typescript-eslint/explicit-function-return-type': 'off', | ||
| '@typescript-eslint/interface-name-prefix': 'off', | ||
| '@typescript-eslint/no-empty-function': 'off', | ||
| '@typescript-eslint/no-unnecessary-type-assertion': 'off', | ||
| '@typescript-eslint/no-use-before-define': 'warn', | ||
| '@typescript-eslint/prefer-optional-chain': 'error', | ||
|
|
||
| // eslint rules | ||
| 'no-dupe-class-members': 'off', | ||
| 'prefer-const': 'error', | ||
| 'no-var': 'error', | ||
| 'no-console': 'warn', | ||
| 'dot-notation': 'error', | ||
| yoda: 'error', | ||
| 'no-bitwise': 'error', | ||
| // eqeqeq: 'error', | ||
| 'no-underscore-dangle': [ | ||
| 'error', | ||
| { | ||
| // add special window.__foo__ names as exceptions here | ||
| allow: ['__nonce__', '__IS_ELECTRON__'], | ||
| // allow this._name so custom getters and setters can be written gracefully | ||
| allowAfterThis: true, | ||
| enforceInMethodNames: true, | ||
| }, | ||
| ], | ||
| 'prefer-arrow-callback': 'error', | ||
|
|
||
| // plugin: import | ||
| 'import/first': 'error', | ||
| 'import/order': ['error', { 'newlines-between': 'always' }], | ||
|
|
||
| // security | ||
| 'security/detect-buffer-noassert': 'error', | ||
| 'security/detect-child-process': 'error', | ||
| 'security/detect-disable-mustache-escape': 'error', | ||
| 'security/detect-eval-with-expression': 'error', | ||
| 'security/detect-new-buffer': 'error', | ||
| 'security/detect-no-csrf-before-method-override': 'error', | ||
| 'security/detect-non-literal-fs-filename': 'error', | ||
| 'security/detect-non-literal-regexp': 'error', | ||
| 'security/detect-non-literal-require': 'error', | ||
| 'security/detect-object-injection': 'off', | ||
| 'security/detect-possible-timing-attacks': 'error', | ||
| 'security/detect-pseudoRandomBytes': 'error', | ||
| 'security/detect-unsafe-regex': 'error', | ||
|
|
||
| // lodash | ||
| 'lodash/callback-binding': 'error', | ||
| 'lodash/collection-method-value': 'error', | ||
| 'lodash/collection-return': 'error', | ||
| 'lodash/no-double-unwrap': 'error', | ||
| 'lodash/no-extra-args': 'error', | ||
| 'lodash/no-unbound-this': 'error', | ||
| 'lodash/unwrap': 'error', | ||
| 'lodash/identity-shorthand': 'error', | ||
| 'lodash/import-scope': ['error', 'method'], | ||
| 'lodash/matches-prop-shorthand': 'error', | ||
| 'lodash/matches-shorthand': 'error', | ||
| 'lodash/path-style': 'error', | ||
| 'lodash/prefer-compact': 'error', | ||
| 'lodash/prefer-flat-map': 'error', | ||
| 'lodash/prefer-immutable-method': 'error', | ||
| 'lodash/prefer-map': 'error', | ||
| 'lodash/prefer-reject': 'error', | ||
| 'lodash/preferred-alias': 'error', | ||
| 'lodash/prop-shorthand': 'error', | ||
| }, | ||
| overrides: [ | ||
| { | ||
| files: ['**/*.+(test|spec).+(js|jsx|ts|tsx)'], | ||
| env: { | ||
| jest: true, | ||
| }, | ||
| rules: { | ||
| '@typescript-eslint/ban-ts-ignore': 'off', | ||
| '@typescript-eslint/no-non-null-assertion': 'off', | ||
| '@typescript-eslint/no-object-literal-type-assertion': 'off', | ||
| '@typescript-eslint/unbound-method': 'off', | ||
| '@typescript-eslint/no-explicit-any': 'off', | ||
|
|
||
| 'security/detect-buffer-noassert': 'off', | ||
| 'security/detect-child-process': 'off', | ||
| 'security/detect-disable-mustache-escape': 'off', | ||
| 'security/detect-eval-with-expression': 'off', | ||
| 'security/detect-new-buffer': 'off', | ||
| 'security/detect-no-csrf-before-method-override': 'off', | ||
| 'security/detect-non-literal-fs-filename': 'off', | ||
| 'security/detect-non-literal-regexp': 'off', | ||
| 'security/detect-non-literal-require': 'off', | ||
| 'security/detect-object-injection': 'off', | ||
| 'security/detect-possible-timing-attacks': 'off', | ||
| 'security/detect-pseudoRandomBytes': 'off', | ||
| 'security/detect-unsafe-regex': 'off', | ||
| }, | ||
| }, | ||
| ], | ||
| }; |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.