UNPKG

@ssh/eslint-config

Version:

Slingshot's ESLint configuration for JavaScript, TypeScript, and React projects with ESLint 9 flat config support

17 lines (15 loc) 564 B
export const rules = { "react/react-in-jsx-scope": "off", "react/jsx-filename-extension": [1, { extensions: [".js", ".jsx", ".tsx"] }], "react/display-name": "off", "react/require-default-props": "off", "react/no-unescaped-entities": "off", "react/prop-types": 0, "react/jsx-no-bind": "warn", "react/function-component-definition": "off", "react/jsx-no-useless-fragment": "off", "react/jsx-props-no-spreading": "warn", "react/jsx-key": "error", }; // Default export for backward compatibility export default { rules };