open-nomad/ui/tests/.eslintrc.js

29 lines
588 B
JavaScript
Raw Normal View History

2017-09-19 14:47:10 +00:00
module.exports = {
globals: {
server: true,
2017-10-11 17:12:10 +00:00
selectChoose: true,
selectSearch: true,
removeMultipleOption: true,
clearSelected: true,
getCodeMirrorInstance: true,
2017-09-19 14:47:10 +00:00
},
env: {
embertest: true,
},
overrides: {
files: ['acceptance/**/*-test.js'],
plugins: ['ember-a11y-testing'],
rules: {
'ember-a11y-testing/a11y-audit-called': 'error',
},
settings: {
'ember-a11y-testing': {
auditModule: {
package: 'nomad-ui/tests/helpers/a11y-audit',
exportName: 'default',
},
},
},
},
2017-09-19 14:47:10 +00:00
};