Skip to content

Commit

Permalink
babel parser
Browse files Browse the repository at this point in the history
  • Loading branch information
rwu823 committed Nov 11, 2018
1 parent 8968dfe commit 6d9ffce
Show file tree
Hide file tree
Showing 4 changed files with 4,839 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
parser: 'babel-eslint',
extends: [
'airbnb',
'prettier',
Expand All @@ -7,7 +8,9 @@ module.exports = {
'prettier/standard',
'loopback',
],
plugins: ['prettier'],
rules: {
'object-curly-spacing': 0,
'no-console': 0,
'global-require': 0,
'no-unused-expressions': [2, { allowTaggedTemplates: true }],
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"strong-error-handler": "^3.0.0"
},
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^5.9.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-loopback": "^12.0.0",
Expand Down
6 changes: 6 additions & 0 deletions prettier.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
semi: true,
singleQuote: true,
trailingComma: 'all',
parser: 'babylon',
};
Loading

0 comments on commit 6d9ffce

Please sign in to comment.