Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@40thieves
Created June 23, 2019 13:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 40thieves/f6dbf7d2fe4a5c28f486c09e27cf178f to your computer and use it in GitHub Desktop.
Save 40thieves/f6dbf7d2fe4a5c28f486c09e27cf178f to your computer and use it in GitHub Desktop.
"use strict";
module.exports = {
extends: [
"eslint:recommended",
"prettier"
],
rules: {
"arrow-parens": "error",
"brace-style": ["error", "1tbs", { "allowSingleLine": false }],
"comma-dangle": ["error", "always-multiline"],
"curly": "error",
"indent": ["error", 2],
"linebreak-style": ["error", "unix"],
"no-unused-vars": ["error", { "ignoreRestSiblings": true }],
"object-curly-spacing": ["error", "always"],
"operator-linebreak": ["error", "before"],
"quotes": ["error", "double"],
"semi": "error",
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment