From CommonJS to ESM, while also using SWC with Jest in unit tests #27
Annotations
11 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run npm run lint:
jest.config.js#L63
This line has a length of 227. Maximum allowed is 120
|
Run npm run lint:
jest.config.js#L84
This line has a length of 122. Maximum allowed is 120
|
Run npm run lint:
jest.config.js#L174
This line has a length of 126. Maximum allowed is 120
|
Run npm run lint:
jest.config.js#L179
This line has a length of 143. Maximum allowed is 120
|
Run npm run lint:
lib/facebook-meta.js#L16
Function 'facebookMeta' has too many lines (42). Maximum allowed is 22
|
Run npm run lint:
src/js/analytics.js#L11
Function 'analytics' has too many parameters (6). Maximum allowed is 3
|
Run npm run lint:
src/js/analytics.js#L13
Expected an assignment or function call and instead saw an expression
|
Run npm run lint:
src/js/analytics.js#L18
Use array destructuring
|
Run npm run lint:
src/js/sendanmaki.js#L104
Method 'buildImageNotes' has too many statements (11). Maximum allowed is 10
|
Run npm run lint:
tests/lib/facebook-meta.test.js#L10
Function has too many lines (32). Maximum allowed is 22
|
Loading