Skip to content

Commit

Permalink
Prevent rules around imports in vendor files.
Browse files Browse the repository at this point in the history
  • Loading branch information
rwjblue committed Jan 9, 2018
1 parent 6e95b3b commit 55c164e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@ module.exports = {
env: {
embertest: true
}
},

// vendor files
{
files: ['vendor/**/*.js'],
globals: {
Ember: false
},
rules: {
'ember/new-module-imports': 'off'
}
}
]
};

0 comments on commit 55c164e

Please sign in to comment.