upleveled / eslint-config-upleveled

UpLeveled ESLint defaults for programming in JavaScript, TypeScript, React, Next.js, Node.js, Postgres.js
https://www.npmjs.com/package/eslint-config-upleveled
42 stars 12 forks source link

Disable type checked rules for `.jsx` files #435

Closed Omer-Szerer closed 1 month ago

Omer-Szerer commented 1 month ago

Prevent Unsafe member access .attending on ananyvalue. problems being reported in .jsx files which are not reported with other JavaScript file extensions.

const response = await fetch('http://localhost:3000/guests/1');
const updatedGuest = await response.json();
console.log(updatedGuest.attending);

Screenshot 2024-09-30 at 09 41 38

codesandbox-ci[bot] commented 1 month ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.