Created
January 3, 2016 18:59
-
-
Save anatoliyarkhipov/2971a8a5a9c3933ddcee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extends" : "airbnb", | |
"env" : { | |
"browser" : true | |
}, | |
"globals" : { | |
"__DEV__" : false, | |
"__PROD__" : false, | |
"__DEBUG__" : false, | |
"__DEBUG_NW__" : false | |
}, | |
"rules": { | |
"jsx-quotes": [2, "prefer-double"], | |
"react/sort-comp": [1, { | |
"order": [ | |
"lifecycle", | |
"render", | |
"everything-else" | |
] | |
}], | |
"id-length": 0, | |
"semi": [2, "never"], | |
"space-before-function-paren": [2, "never"], | |
"comma-dangle": [2, "always-multiline"], | |
"no-cond-assign": 2, | |
"no-console": 1, | |
"no-constant-condition": 1, | |
"no-control-regex": 1, | |
"no-debugger": 2, | |
"no-dupe-args": 2, | |
"no-dupe-keys": 1, | |
"no-empty": 1, | |
"no-ex-assign": 2, | |
"no-extra-boolean-cast": 1, | |
"no-extra-parens": 0, | |
"no-extra-semi": 1, | |
"no-func-assign": 2, | |
"no-inner-declarations": 1, | |
"no-invalid-regexp": 2, | |
"no-irregular-whitespace": 2, | |
"no-negated-in-lhs": 1, | |
"no-obj-calls": 2, | |
"no-regex-spaces": 2, | |
"no-reserved-keys": 0, | |
"no-sparse-arrays": 2, | |
"no-unreachable": 2, | |
"use-isnan": 2, | |
"valid-jsdoc": [2, { | |
"requireParamDescription": false, | |
"requireReturnDescription": false | |
}], | |
"valid-typeof": 2, | |
"no-unexpected-multiline": 2, | |
"block-scoped-var": 2, | |
"complexity": 0, | |
"consistent-return": 1, | |
"curly": 1, | |
"default-case": 0, | |
"dot-notation": 1, | |
"eqeqeq": 0, | |
"guard-for-in": 2, | |
"no-alert": 1, | |
"no-caller": 2, | |
"no-div-regex": 1, | |
"no-else-return": 1, | |
"no-empty-label": 1, | |
"no-eq-null": 1, | |
"no-eval": 1, | |
"no-extend-native": 2, | |
"no-extra-bind": 1, | |
"no-fallthrough": 1, | |
"no-floating-decimal": 1, | |
"no-implied-eval": 1, | |
"no-iterator": 1, | |
"no-labels": 2, | |
"no-lone-blocks": 2, | |
"no-loop-func": 2, | |
"no-multi-spaces": [1, { | |
"exceptions": {} | |
}], | |
"no-multi-str": 2, | |
"no-native-reassign": 2, | |
"no-new": 1, | |
"no-new-func": 2, | |
"no-new-wrappers": 2, | |
"no-octal": 2, | |
"no-octal-escape": 2, | |
"no-param-reassign": 1, | |
"no-process-env": 2, | |
"no-proto": 2, | |
"no-redeclare": 2, | |
"no-return-assign": 2, | |
"no-script-url": 2, | |
"no-self-compare": 2, | |
"no-sequences": 2, | |
"no-unused-expressions": 1, | |
"no-void": 2, | |
"no-warning-comments": 1, | |
"no-with": 2, | |
"radix": 0, | |
"vars-on-top": 2, | |
"wrap-iife": 2, | |
"yoda": 2, | |
"strict": 0, | |
"no-catch-shadow": 1, | |
"no-delete-var": 1, | |
"no-label-var": 1, | |
"no-shadow": 2, | |
"no-shadow-restricted-names": 2, | |
"no-undef": 2, | |
"no-undef-init": 0, | |
"no-undefined": 2, | |
"no-unused-vars": 1, | |
"no-use-before-define": 2, | |
"array-bracket-spacing": 0, | |
"indent": [2, 2, { | |
"SwitchCase": 1 | |
}], | |
"brace-style": 1, | |
"camelcase": [2, {"properties": "always"}], | |
"comma-spacing": 1, | |
"comma-style": [2, "last"], | |
"consistent-this": 0, | |
"eol-last": 1, | |
"func-names": 0, | |
"func-style": 0, | |
"key-spacing": [1, { | |
"beforeColon": false, | |
"afterColon": true | |
}], | |
"lines-around-comment": [1, { | |
"beforeBlockComment" : true, | |
"beforeLineComment" : true | |
}], | |
"max-nested-callbacks": [2, 3], | |
"new-cap": 2, | |
"new-parens": 0, | |
"newline-after-var": 0, | |
"no-array-constructor": 2, | |
"no-continue": 0, | |
"no-inline-comments": 0, | |
"no-lonely-if": 1, | |
"no-mixed-spaces-and-tabs": 2, | |
"no-multiple-empty-lines": [2, { | |
"max" : 2 | |
}], | |
"no-nested-ternary": 2, | |
"no-new-object": 1, | |
"no-spaced-func": 2, | |
"no-ternary": 0, | |
"no-trailing-spaces": 1, | |
"no-underscore-dangle": 0, | |
"no-unneeded-ternary": 2, | |
"object-curly-spacing": [1, "always"], | |
"one-var": [1, { | |
"var" : "always", | |
"let" : "always", | |
"const" : "never" | |
}], | |
"operator-assignment": [0, "always"], | |
"padded-blocks": 0, | |
"quotes": [2, "single", "avoid-escape"], | |
"quote-props": [1, "as-needed"], | |
"sort-vars": 0, | |
"space-after-keywords": [2, "always"], | |
"space-before-blocks": [2, "always"], | |
"space-in-brackets": 0, | |
"space-in-parens": [2, "never"], | |
"space-infix-ops": 1, | |
"space-return-throw-case": 2, | |
"space-unary-ops": [2, { | |
"words" : true, | |
"nonwords" : false | |
}], | |
"spaced-comment": [2, "always", { | |
"exceptions" : ["-", "+"] | |
}], | |
"wrap-regex": 0, | |
"constructor-super": 2, | |
"generator-star-spacing": [2, { | |
"before" : false, | |
"after" : true | |
}], | |
"no-this-before-super": 2, | |
"no-var": 2, | |
"object-shorthand": 0, | |
"prefer-const": 2, | |
"max-depth": [2, 3], | |
"max-len": [2, 120, 2], | |
"max-params": [2, 3] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment