Skip to content

Commit

Permalink
Adjust eslint config
Browse files Browse the repository at this point in the history
Use root: true to not let ESlint travel further
Adjust a two random rules because they triggered me
  • Loading branch information
igorschoester authored and mhkuu committed Dec 28, 2023
1 parent 4192be9 commit 6147524
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions apps/content-analysis/.eslintrc
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
extends: yoast
root: true

rules:
require-jsdoc: 0
react/prop-types: 0
react/jsx-no-bind: 0
no-unused-vars: 0
complexity: 1
capitalized-comments: off
space-before-function-paren: [ error, { "anonymous": "never", "named": "never", "asyncArrow": "always" } ]
# Longer grace period for Yoast config.
no-shadow: [ 1, { "builtinGlobals": false, "hoist": "all", "allow": [] } ]
no-useless-escape: 1
Expand Down

0 comments on commit 6147524

Please sign in to comment.