UNPKG

fuzzy-match-utils

Version:

A collection of string matching algorithms built with React Select in mind

100 lines (99 loc) 2.86 kB
{ "parser": "babel-eslint", "env": { "browser": true, "node": true, "es6": true }, "rules": { "array-bracket-spacing": [2, "never"], "brace-style": [2, "1tbs", {"allowSingleLine": false}], "camelcase": [2, {"properties": "never"}], "comma-dangle": [2, "always-multiline"], "comma-spacing": [2, {"before": false, "after": true}], "curly": 2, "eol-last": 2, "eqeqeq": [2, "allow-null"], "guard-for-in": 2, "indent": [2, 4, {"SwitchCase": 1}], "keyword-spacing": 2, "linebreak-style": [2, "unix"], "max-len": [2, 80, 4, {"ignoreUrls": true, "ignorePattern": "\\brequire(?:WithVars)?\\([\"']|eslint-disable"}], "max-lines": [2, 1000], "no-alert": 2, "no-array-constructor": 2, "no-console": 2, "no-debugger": 2, "no-dupe-class-members": 2, "no-dupe-keys": 2, "no-extra-bind": 2, "no-new": 2, "no-new-func": 2, "no-new-object": 2, "no-spaced-func": 2, "no-throw-literal": 2, "no-trailing-spaces": 2, "no-undef": 2, "no-unexpected-multiline": 2, "no-unreachable": 2, "no-unused-vars": [2, {"args": "none", "varsIgnorePattern": "^_*$"}], "no-useless-call": 2, "no-with": 2, "object-curly-spacing": 2, "one-var": [2, "never"], "semi": [2, "always"], "space-before-function-paren": [2, "never"], "space-in-parens": 2, "space-infix-ops": 2, "space-unary-ops": 2, "no-case-declarations": 0, "valid-jsdoc": 0, "require-jsdoc": 0, // --------------------------------------- // ES6 rules. "arrow-spacing": 2, "computed-property-spacing": 2, "constructor-super": 2, "no-const-assign": 2, "no-this-before-super": 2, "no-var": 2, "prefer-const": 2, "prefer-spread": 2, "prefer-template": 0, "arrow-parens": 0, "prefer-arrow-callback": 0, // --------------------------------------- // React rules. "react/forbid-prop-types": [2, { "forbid": [ "array", "object" ] }], "react/jsx-closing-bracket-location": [2, "line-aligned"], "react/jsx-curly-spacing": [2, "never"], "react/jsx-indent-props": 2, "react/jsx-no-duplicate-props": 2, "react/jsx-no-undef": 2, "react/jsx-uses-react": 2, "react/jsx-uses-vars": 2, "react/no-did-mount-set-state": [2], "react/no-did-update-set-state": 2, "react/no-direct-mutation-state": 2, "react/prop-types": 2, "react/self-closing-comp": 2, "react/sort-comp": 2, "react/jsx-sort-props": 0, "react/sort-prop-types": 0 }, "ecmaFeatures": { "arrowFunctions": true, "blockBindings": true, "classes": true, "destructuring": true, "experimentalObjectRestSpread": true, "forOf": true, "jsx": true, "restParams": true, "spread": true, "templateStrings": true }, "plugins": [ "react" ] }