Skip to content

Commit dc1e602

Browse files
authored
chore: upgrade eslint rules + dependencies (#2731)
update to the latest msgraph eslint config fix a number of issues now treated as errors improved typing in many areas reducing the number of explicit any type references
1 parent f874d80 commit dc1e602

File tree

206 files changed

+975
-840
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+975
-840
lines changed

.eslintrc.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ module.exports = {
2828
root: true,
2929
ignorePatterns: ['**/**-css.ts', '.eslintrc.js', '*.cjs'],
3030
rules: {
31-
'@typescript-eslint/prefer-optional-chain': 'warn',
32-
'newline-per-chained-call': 'off'
31+
'@typescript-eslint/no-explicit-any': 'warn',
32+
// prefer-nullish-coalescing requires strictNullChecking to be turned on
33+
'@typescript-eslint/prefer-nullish-coalescing': 'off'
3334
}
3435
};

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,6 @@
1818
},
1919
"stylelint.packageManager": "yarn",
2020
"stylelint.snippet": ["css", "less", "postcss", "scss"],
21-
"stylelint.validate": ["css", "less", "postcss", "scss"]
21+
"stylelint.validate": ["css", "less", "postcss", "scss"],
22+
"cSpell.words": ["mailenabledsecurity"]
2223
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)