Skip to content

Commit

Permalink
eslint globals as writable and readonly
Browse files Browse the repository at this point in the history
  • Loading branch information
baruchiro authored Mar 4, 2020
1 parent 45e5278 commit 056343b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ module.exports = {
extends: ['airbnb-base', 'plugin:vue/recommended'],

globals: {
__static: true,
__static: 'writable',
...globals.reduce((prev, curr) => {
prev[curr] = true;
prev[curr] = 'readonly';
return prev;
}, {}),
},
Expand Down

0 comments on commit 056343b

Please sign in to comment.