Skip to content

Instantly share code, notes, and snippets.

@droidMakk
Last active July 15, 2018 03:20
Show Gist options
  • Save droidMakk/34cee125e62716451d14d95ebf3d47c0 to your computer and use it in GitHub Desktop.
Save droidMakk/34cee125e62716451d14d95ebf3d47c0 to your computer and use it in GitHub Desktop.
Custom set of Configurations for Project
{
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"node": true
},
"parser": "babel-eslint",
"extends": ["standard","eslint:recommended", "plugin:react/all"],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"react",
"prettier"
],
"rules": {
"prettier/prettier": 1,
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"windows"
],
"quotes": [
"error",
"double"
],
"semi": [
"error",
"always"
],
"no-console": 1,
"react/jsx-no-bind": 0,
"react/jsx-max-depth": [1,{"max": 3}],
"react/forbid-component-props": 0,
"react/jsx-handler-names": 1,
"react/jsx-one-expression-per-line": 0,
"react/jsx-max-props-per-line": 0,
"react/no-multi-comp": 0,
"react/jsx-no-literals": 0
}
}
{
"trailingComma": "none",
"singleQuote": false,
"printWidth": 80,
"editor.formatOnSave": true,
"proseWrap": "always",
"tabWidth": 4,
"requireConfig": false,
"useTabs": false,
"bracketSpacing": true,
"jsxBracketSameLine": false,
"semi": true
}
{
"themePrimary": "#3f52e3",
"themeLighterAlt": "#f7f7fe",
"themeLighter": "#dee1fb",
"themeLight": "#c1c8f7",
"themeTertiary": "#8793ee",
"themeSecondary": "#5465e6",
"themeDarkAlt": "#394acc",
"themeDark": "#303fac",
"themeDarker": "#242e7f",
"neutralLighterAlt": "#eeeeee",
"neutralLighter": "#eaeaea",
"neutralLight": "#e1e1e1",
"neutralQuaternaryAlt": "#d1d1d1",
"neutralQuaternary": "#c8c8c8",
"neutralTertiaryAlt": "#c0c0c0",
"neutralTertiary": "#aeb5c9",
"neutralSecondary": "#6b7592",
"neutralPrimaryAlt": "#3a4460",
"neutralPrimary": "#283149",
"neutralDark": "#1f2638",
"black": "#171c29",
"white": "#f6f6f6",
"bodyBackground": "#f6f6f6",
"bodyText": "#283149"
}
{
"eslint": "^5.0.1",
"eslint-config-standard": "^11.0.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-node": "^6.0.1",
"eslint-plugin-prettier": "^2.6.2",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-standard": "^3.1.0",
"prettier": "^1.13.7",
"prettier-eslint": "^8.8.2"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment