Skip to content

Instantly share code, notes, and snippets.

@mashiro
Created January 20, 2020 10: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 mashiro/ab01c7b6bd44ccd406e5950ec8c3b92a to your computer and use it in GitHub Desktop.
Save mashiro/ab01c7b6bd44ccd406e5950ec8c3b92a to your computer and use it in GitHub Desktop.
module.exports = {
root: true,
env: {
es6: true,
node: true,
},
extends: [
'standard',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'plugin:prettier/recommended',
'prettier/@typescript-eslint',
'prettier/standard',
],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'prettier/prettier': 'error',
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment