This package provides extensible ESLint configs used by the Azure Tools for VS Code Team.
@microsoft/eslint-config-azuretools
(for production code)@microsoft/eslint-config-azuretools/test
(for test code)
-
Install this package and its peer dependencies. Peer dependencies can be listed with the following command:
npm info @microsoft/eslint-config-azuretools peerDependencies
-
Depending on which config you want to use, add the following to your
.eslintrc
:"extends": "@microsoft/eslint-config-azuretools"
or
"extends": [ "@microsoft/eslint-config-azuretools", "@microsoft/eslint-config-azuretools/test" ]