Created
March 9, 2019 18:26
-
-
Save yasinatesim/b487c597f7494d3054e7cd09c5207b1a to your computer and use it in GitHub Desktop.
My Custom eslintrc file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"env": { | |
"browser": true, | |
"es6": true | |
}, | |
"extends": "eslint:recommended", | |
"parserOptions": { | |
"sourceType": "module" | |
}, | |
"rules": { | |
"no-var": "error", | |
"prefer-arrow-callback": "error", | |
"brace-style": "error", | |
"func-style": [2, "expression"], | |
"object-property-newline": "error", | |
"object-curly-newline": "error", | |
"array-element-newline": "error", | |
"array-bracket-newline": "error", | |
"no-empty": "error", | |
"indent": [ | |
"error", | |
"tab" | |
], | |
"linebreak-style": [ | |
"error", | |
"unix" | |
], | |
"quotes": [ | |
"error", | |
"single" | |
], | |
"semi": [ | |
"error", | |
"always" | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment