UNPKG

react-weekly-schedule

Version:

![Travis (.org)](https://img.shields.io/travis/remotelock/react-week-scheduler.svg) ![npm](https://img.shields.io/npm/v/@remotelock/react-week-scheduler.svg)

65 lines (64 loc) 2.04 kB
{ "extends": [ "prettier", "prettier/react", "plugin:css-modules/recommended", "plugin:react/recommended", "plugin:@typescript-eslint/recommended", "prettier/@typescript-eslint" ], "parser": "@typescript-eslint/parser", "env": { "browser": true }, "parserOptions": { "ecmaVersion": 8, "sourceType": "module", "ecmaFeatures": { "jsx": true } }, "plugins": ["react", "compat", "css-modules", "react-hooks"], "rules": { "no-console": "error", "react/prop-types": ["off"], "@typescript-eslint/no-var-requires": ["off"], "react-hooks/rules-of-hooks": "error", "react-hooks/exhaustive-deps": "warn", "max-len": ["error", 120], "max-depth": ["error", 4], "arrow-body-style": ["off"], "react/jsx-filename-extension": [ "error", { "extensions": [".tsx", ".jsx"] } ], "react/jsx-max-depth": ["error", { "max": 6 }], "react/no-array-index-key": ["off"], "react/no-access-state-in-setstate": "error", "react/no-children-prop": "error", "react/no-danger": "error", "react/no-danger-with-children": "error", "react/no-deprecated": "error", "react/no-did-update-set-state": "error", "react/no-will-update-set-state": "error", "react/no-direct-mutation-state": "error", "react/no-redundant-should-component-update": "error", "react/no-render-return-value": "error", "react/void-dom-elements-no-children": "error", "react/no-multi-comp": ["error", { "ignoreStateless": true }], "react/jsx-pascal-case": "error", "react/jsx-no-target-blank": "error", "no-multi-str": ["off"], "compat/compat": "error", "css-modules/no-unused-class": ["warn", { "camelCase": true }], "css-modules/no-undef-class": ["warn", { "camelCase": true }], "@typescript-eslint/explicit-function-return-type": ["off"], "@typescript-eslint/prefer-interface": ["off"], "jsx-a11y/label-has-for": ["off"] }, "settings": { "react": { "version": "detect" } } }