UNPKG

fk-react-ui-components

Version:

Step 1 : Create a file in [ Seeds / Plants / Trees ] <br> Step 2 : It should export an Object with component name and story Component [Refer other components] <br> Step 3 : Story Component should return a react component <br> Step 3 : Created file should

51 lines (45 loc) 1.52 kB
{ "parser": "babel-eslint", "extends": [ "airbnb", "plugin:flowtype/recommended", "plugin:css-modules/recommended", "prettier", "prettier/flowtype", "prettier/react" ], "plugins": ["flowtype", "css-modules", "prettier"], "env": { "browser": true }, "rules": { "import/extensions": ["error", "always", {"js": "never", "jsx": "never"} ], "import/no-extraneous-dependencies": "off", "no-console": [ "error", { "allow": ["warn", "error", "info"] } ], "no-plusplus": "off", "consistent-return": "off", "no-nested-ternary": "off", "no-param-reassign": "off", "prefer-destructuring": "off", "no-octal-escape" : "off", "jsx-a11y/href-no-hash": "off", "jsx-a11y/interactive-supports-focus": "off", "jsx-a11y/click-events-have-key-events": "off", "jsx-a11y/no-noninteractive-element-interactions": "off", // https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/308#issuecomment-322954274 "jsx-a11y/label-has-for": "warn", // Allow js files to use jsx syntax, too "react/jsx-filename-extension": ["error", { "extensions": [".js", ".jsx"] }], "react/prefer-stateless-function": "off", // ESLint plugin for prettier formatting // https://github.com/prettier/eslint-plugin-prettier "prettier/prettier": [ "error", { // https://github.com/prettier/prettier#options "singleQuote": true, "trailingComma": "none", "tabWidth": 4, "useTabs": false } ] } }