Created
April 20, 2018 02:15
-
-
Save fresh5447/b7fc719192649d758f2dc06366b4d8d4 to your computer and use it in GitHub Desktop.
eslint w/ prettier
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
module.exports = { | |
env: { | |
browser: true, | |
es6: true, | |
node: true, | |
}, | |
extends: [ | |
'standard', | |
'standard-react', | |
'prettier', | |
'prettier/react', | |
'prettier/standard', | |
'plugin:lodash-fp/recommended', | |
], | |
globals: {}, | |
parser: 'babel-eslint', | |
parserOptions: { | |
ecmaVersion: 2017, | |
jsx: true, | |
sourceType: 'module', | |
}, | |
plugins: ['lodash-fp', 'prettier', 'standard'], | |
root: true, | |
rules: { | |
'prettier/prettier': [ | |
'error', | |
{ | |
bracketSpacing: false, | |
printWidth: 100, | |
semi: false, | |
singleQuote: true, | |
trailingComma: 'all', | |
}, | |
], | |
eqeqeq: ['error', 'smart'], | |
}, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment