Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Eslint shared rules #36

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Eslint shared rules #36

wants to merge 2 commits into from

Conversation

klebba
Copy link
Collaborator

@klebba klebba commented Apr 10, 2024

There are a few new violations here:

~/demo/fail/index.js
  4:19  error  Unexpected constant binary expression. Compares constantly with the left-hand side of the `===`  no-constant-binary-expression

~/x-test.js
    48:6   warning  Unexpected use of '^'                                                                             no-bitwise
    48:11  warning  Unexpected use of '&'                                                                             no-bitwise
    48:59  warning  Unexpected use of '>>'                                                                            no-bitwise
   463:83  warning  Array.prototype.findLastIndex() expects a value to be returned at the end of arrow function       array-callback-return
   469:82  warning  Array.prototype.findLastIndex() expects a value to be returned at the end of arrow function       array-callback-return
   475:73  warning  Array.prototype.findIndex() expects a value to be returned at the end of arrow function           array-callback-return
   481:73  warning  Array.prototype.findLastIndex() expects a value to be returned at the end of arrow function       array-callback-return
   527:69  warning  Array.prototype.findLastIndex() expects a value to be returned at the end of arrow function       array-callback-return
   550:69  warning  Array.prototype.findLastIndex() expects a value to be returned at the end of arrow function       array-callback-return
   567:69  warning  Array.prototype.findLastIndex() expects a value to be returned at the end of arrow function       array-callback-return
   589:69  warning  Array.prototype.findLastIndex() expects a value to be returned at the end of arrow function       array-callback-return
  1176:14  warning  Function declared in a loop contains unsafe references to variable(s) 'lineNumber', 'lineNumber'  no-loop-func

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant