material-components
Version:
Stateless UI components for react that follow material design
125 lines (118 loc) • 2.97 kB
Plain Text
{
"parser": "babel-eslint",
"plugins": [
"react"
],
"env": {
"browser": true,
"node": true,
"es6": true
},
"globals": {
},
// http://eslint.org/docs/configuring/
"ecmaFeatures": {
"arrowFunctions": true,
"binaryLiterals": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"generators": true,
"jsx": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"octalLiterals": true,
"regexUFlag": true,
"regexYFlag": true,
"restParams": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true
},
// http://eslint.org/docs/rules/
"rules": {
"react/display-name": 0,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1,
"react/no-did-mount-set-state": 1,
"react/no-did-update-set-state": 1,
"react/no-multi-comp": 1,
"react/prop-types": 0,
"react/react-in-jsx-scope": 0,
"react/self-closing-comp": 1,
"react/wrap-multilines": 1,
"brace-style": [1, "1tbs", { "allowSingleLine": true }],
"comma-dangle": [1, "never"],
"consistent-return": 1,
"curly": 1,
"dot-notation": 1,
"eol-last": 1,
"eqeqeq": 1,
"key-spacing": 1,
"max-len": 0,
"new-cap": 0,
"no-alert": 1,
"no-caller": 1,
"no-cond-assign": 1,
"no-console": 0,
"no-constant-condition": 1,
"no-control-regex": 1,
"no-debugger": 1,
"no-dupe-keys": 1,
"no-duplicate-case": 0,
"no-empty": 1,
"no-empty-character-class": 1,
"no-empty-label": 1,
"no-eval": 1,
"no-ex-assign": 1,
"no-extend-native": 1,
"no-extra-bind": 1,
"no-extra-semi": 1,
"no-fallthrough": 1,
"no-func-assign": 1,
"no-implied-eval": 1,
"no-inner-declarations": 1,
"no-invalid-regexp": 1,
"no-irregular-whitespace": 1,
"no-iterator": 1,
"no-labels": 1,
"no-lone-blocks": 1,
"no-loop-func": 1,
"no-multi-spaces": 1,
"no-multi-str": 1,
"no-native-reassign": 1,
"no-new": 1,
"no-new-func": 1,
"no-new-wrappers": 1,
"no-obj-calls": 1,
"no-octal": 1,
"no-octal-escape": 1,
"no-proto": 1,
"no-redeclare": 1,
"no-regex-spaces": 1,
"no-return-assign": 1,
"no-script-url": 1,
"no-sequences": 1,
"no-spaced-func": 1,
"no-sparse-arrays": 1,
"no-undef": 2,
"no-underscore-dangle": 0,
"no-unreachable": 1,
"no-unused-expressions": 1,
"no-unused-vars": [1, { "vars": "all", "args": "none" }],
"no-warning-comments": 0,
"no-with": 1,
"quotes": [1, "single", "avoid-escape"],
"space-before-blocks": [1, "always"],
"strict": 0, //[1, "global"],
"use-isnan": 1,
"valid-jsdoc": 1,
"valid-typeof": 1,
"yoda": 0
}
}