Skip to content

Commit

Permalink
Update ESLint to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
limzykenneth committed Sep 15, 2022
1 parent 3abe1e9 commit c427200
Show file tree
Hide file tree
Showing 9 changed files with 796 additions and 730 deletions.
4 changes: 3 additions & 1 deletion .eslintrc → .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@
"object-curly-spacing": ["error", "always"],
"arrow-parens": ["error", "as-needed"],
"linebreak-style": ["error", "unix"],
"no-trailing-spaces": ["error"]
"no-trailing-spaces": ["error"],
"no-prototype-builtins": "off",
"no-async-promise-executor": "off"
}
}
10 changes: 5 additions & 5 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,11 @@ module.exports = grunt => {
]
},
source: {
options: {
parserOptions: {
ecmaVersion: 8
}
},
// options: {
// parserOptions: {
// ecmaVersion: 8
// }
// },
src: ['src/**/*.js']
},
test: {
Expand Down
Loading

0 comments on commit c427200

Please sign in to comment.