Skip to content

Commit

Permalink
ENH Loosen rules
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Jan 10, 2023
1 parent d7e7529 commit c328060
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ module.exports = {
{
// turned off otherwise non-admin modules will complain about importing components from admin
// via the novel silverstripe js component sharing setup
'import/no-extraneous-dependencies': [
'import/no-unresolved': [
'off'
],
// turned off because the PHP side returns dangling properties which trigger this...
Expand Down Expand Up @@ -83,7 +83,7 @@ module.exports = {
'off'
],
'react/prefer-stateless-function': [
'error',
'off',
{ 'ignorePureComponents': true }
],
'import/prefer-default-export': [
Expand Down Expand Up @@ -113,6 +113,15 @@ module.exports = {
'no-prototype-builtins': [
'off'
],
'react/destructuring-assignment': [
'off'
],
'react/jsx-props-no-spreading': [
'off'
],
'default-param-last': [
'off'
]
}),
'overrides': [
{
Expand Down

0 comments on commit c328060

Please sign in to comment.