Skip to content

Commit

Permalink
Sync eslint config with other projects
Browse files Browse the repository at this point in the history
  • Loading branch information
Trinovantes committed May 5, 2022
1 parent 2a384b9 commit 9a28c1f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ module.exports = {

// Predefines global variables (e.g. browser env predefines 'window' variable)
env: {
browser: true,
node: true,
'vue/setup-compiler-macros': true,
},

// Disable warnings for variables that are accessed but not defined in same file
globals: {
DEFINE: 'readonly',
'DEFINE': 'readonly',
},

// Rules order is important, please avoid shuffling them
Expand Down

0 comments on commit 9a28c1f

Please sign in to comment.