Skip to content

Instantly share code, notes, and snippets.

@jay7793
Created October 10, 2018 06:27
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 jay7793/01d259370e924310ccb2a9e66a2981fe to your computer and use it in GitHub Desktop.
Save jay7793/01d259370e924310ccb2a9e66a2981fe to your computer and use it in GitHub Desktop.
ESLint config normal front-end application
module.exports = {
env: {
node: true,
mocha: true
},
parserOptions: {
ecmaVersion: 8
},
// Standard JavaScript Style Guide
extends: ['standard', 'plugin:prettier/recommended'],
plugins: ['prettier'],
rules: {
'prettier/prettier': ['error', { singleQuote: true, semi: false }]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment