Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
eslint still needs the babel-eslint parser
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrei Neculau (anu) committed Mar 14, 2018
1 parent 9a35883 commit 9aabb2b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions browser.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
extends: [
'./configs/basic.js',
'./configs/babel.js',
'./configs/better.js',
'./configs/async-await.js',
'./configs/dependencies.js',
Expand Down
7 changes: 7 additions & 0 deletions configs/babel.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
module.exports = {
parser: 'babel-eslint',

parserOptions: {
sourceType: 'module'
}
};
1 change: 1 addition & 0 deletions node.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
module.exports = {
extends: [
'./configs/basic.js',
'./configs/babel.js',
'./configs/better.js',
'./configs/async-await.js',
'./configs/dependencies.js',
Expand Down

0 comments on commit 9aabb2b

Please sign in to comment.