Skip to content

Commit

Permalink
Merge pull request #619 from curran/upgrade-eslint
Browse files Browse the repository at this point in the history
Upgrade eslint
  • Loading branch information
alecgibson committed Aug 15, 2023
2 parents 3651340 + f7b0b7b commit 3488c1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,8 @@ var SHAREDB_RULES = {
module.exports = {
extends: 'google',
parserOptions: {
ecmaVersion: 3
ecmaVersion: 3,
allowReserved: true
},
rules: Object.assign(
{},
Expand All @@ -55,7 +56,8 @@ module.exports = {
files: ['examples/counter-json1-vite/*.js'],
parserOptions: {
ecmaVersion: 6,
sourceType: 'module'
sourceType: 'module',
allowReserved: false
},
rules: {
quotes: ['error', 'single']
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"devDependencies": {
"chai": "^4.3.7",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
"eslint": "^8.47.0",
"eslint-config-google": "^0.14.0",
"lolex": "^5.1.2",
"mocha": "^10.2.0",
Expand Down

0 comments on commit 3488c1b

Please sign in to comment.