-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
The final code example may be found here: https://github.com/iicdii/shared-config-example
module.exports = { // plugin documentation: // https://www.npmjs.com/package/eslint-plugin-react // https://github.com/ArnaudBarre/eslint-plugin-react-refresh // https://www.npmjs.com/package/eslint-plugin-jsx-a11y plugins: ["react", "react-refresh", "jsx-a11y"], extends: [ "plugin:react/recommended", "plugin:react-hooks/recommended", "plugin:react/jsx-runtime", "plugin:@tanstack/eslint-plugin-query/recommended", ], settings: { react: { // Specify the current react version (other than 'detect') // otherwise, it will call the entire react library, leading to slower performance version: "detect", }, }, overrides: [ { files: ['**/__tests__/**/*.[jt]s?(x)', '**/?(*.)+(spec|test).[jt]s?(x)'], extends: ['plugin:testing-library/react'], rules: { 'react-refresh/only-export-components': 'off', }, }, ], rules: { "react-refresh/only-export-components": ["warn", { allowConstantExport: true }], "jsx-a11y/alt-text": [ "warn", { elements: ["img"], }, ], "jsx-a11y/aria-props": "warn", "jsx-a11y/aria-proptypes": "warn", "jsx-a11y/aria-unsupported-elements": "warn", "jsx-a11y/role-has-required-aria-props": "warn", "jsx-a11y/role-supports-aria-props": "warn", "react/no-unknown-property": "off", "react/prop-types": "off", }, };
Related posts
-
Setup Eslint + Prettier para padronização de código em React
-
Setup Eslint + Prettier for code standardization in React
-
Converting couple thousands Js/Ts files that contains JSX content to jsx extension
-
Mastering Code Quality: Setting Up ESLint with Standard JS in TypeScript Projects
-
What is Storybook Play function?