Skip to content
This repository has been archived by the owner on Apr 13, 2022. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
chore(eslint): allow ES6 for node scripts
  • Loading branch information
Narretz committed Feb 12, 2018
1 parent a7a9688 commit 9f1793f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .eslintrc-node.json
@@ -1,8 +1,13 @@
{
"extends": "./.eslintrc-base.json",

"env": {
"browser": false,
"node": true
}
},
"parserOptions": {
"ecmaVersion": 2017
},
"plugins": [
"promise"
]
}
1 change: 1 addition & 0 deletions Gruntfile.js
Expand Up @@ -174,6 +174,7 @@ module.exports = function(grunt) {
'docs/**/*.js',
'lib/**/*.js',
'scripts/**/*.js',
'!scripts/*/*/node_modules/**',
'src/**/*.js',
'test/**/*.js',
'i18n/**/*.js',
Expand Down
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -34,6 +34,7 @@
"cz-conventional-changelog": "1.1.4",
"dgeni": "^0.4.0",
"dgeni-packages": "^0.16.4",
"eslint-plugin-promise": "^3.6.0",
"event-stream": "~3.1.0",
"glob": "^6.0.1",
"google-code-prettify": "1.0.1",
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Expand Up @@ -1994,6 +1994,10 @@ escope@^3.6.0:
esrecurse "^4.1.0"
estraverse "^4.1.1"

eslint-plugin-promise@^3.6.0:
version "3.6.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-promise/-/eslint-plugin-promise-3.6.0.tgz#54b7658c8f454813dc2a870aff8152ec4969ba75"

eslint@^3.0.0:
version "3.15.0"
resolved "https://registry.yarnpkg.com/eslint/-/eslint-3.15.0.tgz#bdcc6a6c5ffe08160e7b93c066695362a91e30f2"
Expand Down

0 comments on commit 9f1793f

Please sign in to comment.