UNPKG

@konradkierus/react-custom-scroll

Version:

An easily designable, cross browser (!!), custom scroll with ReactJS Animations and scroll rate **exactly** like native scroll

66 lines (65 loc) 1.35 kB
{ "rules": { "no-var": 2, "semi": ["error", "never"], "prefer-arrow-callback": 2, "no-confusing-arrow": 2, "prefer-const": 2, "no-const-assign": 2, "prefer-spread": 0, "prefer-template": 2, "arrow-body-style": [ 2, "as-needed" ], "arrow-parens": [ 2, "as-needed" ], "arrow-spacing": [ 2, { "before": true, "after": true } ], "constructor-super": 2, "sort-imports": 0, "no-unused-vars": [2, { "varsIgnorePattern": "React$" }], "react/jsx-uses-vars": 2, "react/react-in-jsx-scope": 2, "react/display-name": 2, "react/no-danger": 2, "react/no-did-mount-set-state": 2, "react/no-did-update-set-state": 2, "react/no-unknown-property": 2, "react/prop-types": [2, { "ignore": [ "children" ] }], "react/no-unused-prop-types": 2, "react/sort-comp": 2, "react/self-closing-comp": 2, "react/jsx-wrap-multilines": 2, "react/jsx-key": 2, "react/jsx-pascal-case": 2 }, "plugins": [ "lodash", "react" ], "parser": "babel-eslint", "parserOptions": { "ecmaVersion": 2017, "sourceType": "module", "ecmaFeatures": { "jsx": true, "classes": true } }, "env": { "browser": true, "commonjs": true } }