Skip to content

Commit

Permalink
parserOptions and env to prevent const error
Browse files Browse the repository at this point in the history
  • Loading branch information
fichimura committed Mar 30, 2024
1 parent baf224b commit e591e8e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"parserOptions": {
"ecmaVersion": "latest"
},
"env": {
"es6": true
},
"rules": {
"no-console": "off",
"linebreak-style": 0,
Expand Down
1 change: 1 addition & 0 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ gulp.task('lint', function () {
.pipe(eslint.failAfterError());
});


// Define the default task
gulp.task('default', gulp.series('lint'));

0 comments on commit e591e8e

Please sign in to comment.