Skip to content

Commit

Permalink
#290 typescript-eslint: set parser, plugins, parserOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
zaki-yama committed Apr 1, 2019
1 parent 1367fb3 commit e8895d2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
module.exports = {
'parser': 'babel-eslint',
'parser': '@typescript-eslint/parser',
'extends': [
'airbnb',
'plugin:prettier/recommended',
'prettier/react',
],
'plugins': [
'@typescript-eslint',
],
'parserOptions': {
'sourceType': 'module',
'project': './tsconfig.json',
},
'env': {
'browser': true
},
Expand Down

0 comments on commit e8895d2

Please sign in to comment.