UNPKG

vertical-timeline-reactjs

Version:

A simple component for create a vertical timeline with Reactjs

120 lines (119 loc) 2.55 kB
{ "extends": ["airbnb", "prettier"], "plugins": ["prettier", "react-hooks"], "rules": { "no-nested-ternary": [0], "react-hooks/exhaustive-deps": "off", "import/imports-first": ["error", "absolute-first"], "import/newline-after-import": "error", "react/no-did-update-set-state": "error", "react/no-unknown-property": "error", "react/no-unused-prop-types": "error", "react/react-in-jsx-scope": "error", "space-in-parens": [0, "never"], "template-curly-spacing": [2, "never"], "array-bracket-spacing": [2, "never"], "computed-property-spacing": [2, "never"], "quotes": [1, "single", "avoid-escape"], "semi": [0, "never"], "prefer-const": 1, "react/prefer-es6-class": 0, "react/prop-types": [1], "react/no-array-index-key": [1], "class-methods-use-this": [1], "no-undef": [1], "no-case-declarations": [1], "no-return-assign": [1], "no-param-reassign": [1], "import/prefer-default-export": "off", "no-shadow": [1], "camelcase": [1], "commentPattern": [0], "no-underscore-dangle": [0, "always"], "react/jsx-props-no-spreading": [0, {}], "jsx-a11y/label-has-associated-control": [ 0, { "labelComponents": [], "labelAttributes": [], "controlComponents": [], "assert": "both", "depth": 3 } ], "jsx-a11y/label-has-for": [ 2, { "required": { "every": ["id"] } } ], "object-curly-spacing": [ "error", "always", { "arraysInObjects": true, "objectsInObjects": true } ], "jsx-a11y/anchor-is-valid": [ "error", { "components": ["Link"], "specialLink": ["hrefLeft", "hrefRight", "to"], "aspects": ["noHref", "invalidHref", "preferButton"] } ], "react/jsx-curly-spacing": [ 2, { "when": "never" } ], "react/jsx-no-bind": [ "error", { "allowArrowFunctions": true, "allowBind": false, "ignoreRefs": true } ], "react/jsx-filename-extension": [ 1, { "extensions": [".js", ".jsx"] } ], "no-multiple-empty-lines": [ 2, { "max": 1, "maxEOF": 0, "maxBOF": 0 } ], "no-use-before-define": [ 2, { "functions": false } ] }, "globals": { "window": true, "document": true, "localStorage": true, "FormData": true, "FileReader": true, "Blob": true, "navigator": true }, "parser": "babel-eslint", "settings": { "import/resolver": "meteor" }, "env": { "jest": true } }