Skip to content

Commit

Permalink
chore(eslint-plugin): upgrade error level of no-restricted-imports in…
Browse files Browse the repository at this point in the history
… v9 config (#24002)
  • Loading branch information
TristanWatanabe authored Jul 29, 2022
1 parent 83f074e commit 51b7a53
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions apps/vr-tests-react-components/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"extends": ["plugin:@fluentui/eslint-plugin/react"],
"root": true,
"rules": {
"@fluentui/no-restricted-imports": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/jsx-no-bind": "off",
"deprecation/deprecation": "off",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "chore: upgrade error level of no-restricted-imports to error in v9 config.",
"packageName": "@fluentui/eslint-plugin",
"email": "[email protected]",
"dependentChangeType": "none"
}
2 changes: 1 addition & 1 deletion packages/eslint-plugin/src/configs/react.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ module.exports = {
files: '**/*.stories.tsx',
rules: {
'@fluentui/no-restricted-imports': [
'warn',
'error',
{
paths: [
{
Expand Down

0 comments on commit 51b7a53

Please sign in to comment.