UNPKG

cra-template-boilerplate-ialexanderbrito

Version:
96 lines (95 loc) 2.6 kB
{ "env": { "browser": true, "es6": true }, "extends": [ "eslint:recommended", "plugin:react/recommended", "plugin:@typescript-eslint/eslint-recommended", "plugin:prettier/recommended" ], "globals": { "Atomics": "readonly", "SharedArrayBuffer": "readonly" }, "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaFeatures": { "jsx": true }, "ecmaVersion": 6, "sourceType": "module" }, "plugins": [ "react", "eslint-plugin-import-helpers", "@typescript-eslint", "prettier" ], "rules": { "prettier/prettier": "error", "import-helpers/order-imports": [ "warn", { "newlinesBetween": "always", "groups": [ "/^react/", "module", "/^pages/", "/^components/", "/^utils/", "/^contexts/", "/^hooks/", "/^axios/", "/^services/", "/^styles/", ["parent", "sibling", "index"] ], "alphabetize": { "order": "asc", "ignoreCase": true } } ], "camelcase": "off", "semi": "off", "eqeqeq": "off", "import/prefer-default-export": "off", "import/no-unresolved": "off", "implicit-arrow-linebreak": "off", "react/jsx-filename-extension": ["warn", { "extensions": [".tsx"] }], "arrow-body-style": ["error", "as-needed"], "class-methods-use-this": "off", "jsx-a11y/click-events-have-key-events": "off", "jsx-a11y/no-static-element-interactions": "off", "react/prop-types": "off", "react/no-array-index-key": "off", "react/react-in-jsx-scope": "off", "react/jsx-props-no-spreading": "off", "no-unused-vars": "error", "no-nested-ternary": "error", "no-param-reassign": "error", "no-unneeded-ternary": "error", "react/forbid-prop-types": "off", "react/require-default-props": "off", "react/destructuring-assignment": "off", "jsx-a11y/heading-has-content": "off", "jsx-a11y/alt-text": "off", "react/jsx-key": "off", "consistent-return": "off", "react/no-unescaped-entities": "off", "jsx-a11y/label-has-associated-control": "off", "prefer-promise-reject-errors": "off", "radix": "off", "react/display-name": "off", "func-names": "off" }, "settings": { "import/extensions": [".ts", ".tsx"], "react": { "createClass": "createReactClass", "pragma": "React", "fragment": "Fragment", "version": "detect", "flowVersion": "0.53" } } }