Availity/eslint-config-availity

Rules

Closed this issue · 3 comments

Disable

  • no-restricted-syntax - needed for processing streams of data
  • global-require - good for lazy require
  • arrow-parens - conflicts with pretteir

eslint-config-prettier disabled arror-parens https://github.com/prettier/eslint-config-prettier/blob/master/index.js#L25 but somehow our configuration still enforces the conflicting rule.

strange. it looks like we disable arrow-parens as well:

'arrow-parens': 0,

we were on an older version of eslint-config-prettier. i'm working on a PR now that upgrades to the latest and uses the default value.