Skip to content

Instantly share code, notes, and snippets.

@dmvianna
Created January 17, 2017 01:11
Show Gist options
  • Save dmvianna/94579c3c64f11a5401f07fcf66fabdf6 to your computer and use it in GitHub Desktop.
Save dmvianna/94579c3c64f11a5401f07fcf66fabdf6 to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6,
"ecmaFeatures": {
"jsx" : true,
"impliedStrict": true
},
"sourceType": "module"
},
"env": {
"browser": true,
"node": true,
"commonjs": true,
"shared-node-browser": true,
"es6": true,
"mocha": true,
"jest": true,
"phantomjs": true
},
"plugins": ["react"],
"globals": {
"mocha": true,
"jest": true
},
"settings": {
"react": {
"createClass": "createClass",
"pragma": "React",
"version": "15.0"
}
},
"rules": {
"semi": [0, "never"],
"consistent-return": [1],
"key-spacing": [0],
"quotes": [1, "prefer-double"],
"new-cap": [1],
"no-multi-spaces": [1],
"no-shadow": [2],
"no-unused-vars": [1],
"no-use-before-define": [2, "nofunc"],
"react/jsx-no-undef": 1,
"react/jsx-uses-react": 1,
"react/jsx-uses-vars": 1
},
"extends": ["eslint:recommended", "plugin:react/recommended"]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment