]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
chore: update eslint rules to prevent breaking changes and/or prohibit
authorpebutler3 <paul@heysparkbox.com>
Thu, 28 Oct 2021 19:45:27 +0000 (13:45 -0600)
committerpebutler3 <paul@heysparkbox.com>
Thu, 28 Oct 2021 19:45:27 +0000 (13:45 -0600)
commit77fe00c7cb1d530b2eb8d00fdf7d72ccf102b819
tree7c702ba1e9644cd49abf075fdeb344dcebd3e1d9
parentc9e8cb2aaa6af44a4a38e5fdcc41e16ed9dda60d
chore: update eslint rules to prevent breaking changes and/or prohibit
readability of code.

- camelCase rule: downgraded to warning level due to possible breaking
  changes caused by changing the regex patterns (alpha_numeric,
month_day_year, day_month_year) may have unforseen consequences
- newCap rule: disabled to prevent breaking changes
- no-extra-parens: disabled to prevent creating scenarios that
  unreadable (i.e. math)
.eslintrc