Skip to content

Commit

Permalink
Update .eslintrc
Browse files Browse the repository at this point in the history
The "import/prefer-default-export" rule is turned off for import/prefer-default-export": "off".
The "no-console" rule is defined to disallow console.log statements, except for console.error statements. This is achieved with "no-console": ["error", { "allow": ["error"] }].
  • Loading branch information
joeyyy09 authored Apr 9, 2024
1 parent 9014fb5 commit 48697e4
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends" : [
"extends": [
"@visionappscz/eslint-config-visionapps"
],
"env": {
Expand All @@ -17,6 +17,7 @@
],
"parser": "@babel/eslint-parser",
"rules": {
"import/prefer-default-export": "off"
"import/prefer-default-export": "off",
"no-console": ["error", { "allow": ["error"] }]
}
}

0 comments on commit 48697e4

Please sign in to comment.