Skip to content

Instantly share code, notes, and snippets.

@mseijas
Created May 29, 2018 22:05
Show Gist options
  • Save mseijas/dad8b654f78aa485ff1582bafcf0de08 to your computer and use it in GitHub Desktop.
Save mseijas/dad8b654f78aa485ff1582bafcf0de08 to your computer and use it in GitHub Desktop.
{
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 6
},
"extends": [
"prettier/react",
"prettier",
"prettier/standard",
"standard",
"plugin:prettier/recommended",
"plugin:react/recommended",
"eslint:recommended"
],
"plugins": ["react", "prettier", "standard", "babel", "promise", "mocha"],
"globals": {
"web3": true,
"App": true,
"artifacts": true,
"contract": true,
"expect": true
},
"env": {
"browser": true,
"node": true,
"es6": true,
"mocha": true
},
"rules": {
"no-console": 0,
"no-var": 2,
"camelcase": 2,
"keyword-spacing": [2, { "before": true, "after": true }],
"object-curly-spacing": [2, "always"],
"no-unused-vars": ["error", { "varsIgnorePattern": "should|expect|React" }],
"prettier/prettier": "error",
"max-len": ["error", { "code": 120, "ignoreUrls": true, "ignoreComments": true, "ignoreTemplateLiterals": true }],
"quotes": ["error", "single", { "allowTemplateLiterals": true }]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment