Created
February 19, 2017 14:31
-
-
Save khle/115d1843fda5b880fdeb88cbc06b4313 to your computer and use it in GitHub Desktop.
.eslintrc
This file contains hidden or 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
Show hidden characters
| module.exports = { | |
| "env": { | |
| "node": true, | |
| "es6": true | |
| }, | |
| "extends": "eslint:recommended", | |
| "installedESLint": true, | |
| "parserOptions": { | |
| "ecmaFeatures": { | |
| "experimentalObjectRestSpread": true, | |
| "jsx": true | |
| }, | |
| "sourceType": "module" | |
| }, | |
| "plugins": [ | |
| "react" | |
| ], | |
| "rules": { | |
| "indent": [1, 2], | |
| "no-console": 0, | |
| "no-unused-vars": [1, {"vars": "local", "args": "none"}], | |
| "jsx-quotes": 1, | |
| "react/forbid-prop-types": 1, | |
| "react/jsx-boolean-value": 1, | |
| "react/jsx-closing-bracket-location": 1, | |
| "react/jsx-curly-spacing": 1, | |
| "react/jsx-indent-props": 1, | |
| "react/jsx-key": 1, | |
| "react/jsx-max-props-per-line": 1, | |
| "react/jsx-no-duplicate-props": 1, | |
| "react/jsx-no-undef": 1, | |
| "react/sort-prop-types": 1, | |
| "react/jsx-sort-props": 1, | |
| "react/jsx-uses-react": 1, | |
| "react/jsx-uses-vars": 1, | |
| "react/no-danger": 1, | |
| "react/no-did-mount-set-state": 1, | |
| "react/no-did-update-set-state": 1, | |
| "react/no-direct-mutation-state": 1, | |
| "react/no-multi-comp": 1, | |
| "react/no-set-state": 1, | |
| "react/no-unknown-property": 1, | |
| "react/prefer-es6-class": 1, | |
| "react/prop-types": 1, | |
| "react/react-in-jsx-scope": 1, | |
| "react/require-extension": 1, | |
| "react/self-closing-comp": 1, | |
| "react/sort-comp": 1, | |
| "react/jsx-wrap-multilines": 1, | |
| "id-length": 0, | |
| "linebreak-style": [ | |
| "error", | |
| "unix" | |
| ], | |
| "quotes": [ | |
| "error", | |
| "single" | |
| ], | |
| "semi": [ | |
| "error", | |
| "always" | |
| ], | |
| "comma-dangle": ["error", "only-multiline"] | |
| } | |
| }; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment