joyent-portal/cloudapi-graphql/.eslintrc
Sérgio Ramos 04e604eb8e use port 4000 by default
also:
 - use prettier
 - uddate dependencies
 - document other ways of setting up credentials
2017-04-27 19:26:15 +01:00

28 lines
467 B
Plaintext

{
"extends": [
"eslint:recommended",
"prettier"
],
"plugins": [
"prettier"
],
"rules": {
"no-console": 0,
"prettier/prettier": ["error", {
"useTabs": false,
"printWidth": 80,
"tabWidth": 2,
"singleQuote": true,
"trailingComma": "none",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"parser": "flow",
"semi": true
}]
},
"env": {
"es6": true,
"node": true
}
}