2016-10-10 18:37:26 +03:00
|
|
|
{
|
2017-04-27 21:26:15 +03:00
|
|
|
"extends": [
|
|
|
|
"eslint:recommended",
|
|
|
|
"prettier"
|
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"prettier"
|
|
|
|
],
|
2016-10-10 18:37:26 +03:00
|
|
|
"rules": {
|
2017-04-27 21:26:15 +03:00
|
|
|
"no-console": 0,
|
|
|
|
"prettier/prettier": ["error", {
|
|
|
|
"useTabs": false,
|
|
|
|
"printWidth": 80,
|
|
|
|
"tabWidth": 2,
|
|
|
|
"singleQuote": true,
|
|
|
|
"trailingComma": "none",
|
|
|
|
"bracketSpacing": true,
|
|
|
|
"jsxBracketSameLine": false,
|
|
|
|
"parser": "flow",
|
|
|
|
"semi": true
|
2016-10-10 18:37:26 +03:00
|
|
|
}]
|
2017-04-27 21:26:15 +03:00
|
|
|
},
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
2016-10-10 18:37:26 +03:00
|
|
|
}
|
|
|
|
}
|