github.com/Ilhicas/nomad@v1.0.4-0.20210304152020-e86851182bc3/ui/tests/.eslintrc.js (about) 1 module.exports = { 2 globals: { 3 server: true, 4 selectChoose: true, 5 selectSearch: true, 6 removeMultipleOption: true, 7 clearSelected: true, 8 getCodeMirrorInstance: true, 9 }, 10 env: { 11 embertest: true, 12 }, 13 overrides: [ 14 { 15 files: ['acceptance/**/*-test.js'], 16 plugins: ['ember-a11y-testing'], 17 rules: { 18 'ember-a11y-testing/a11y-audit-called': 'error', 19 }, 20 settings: { 21 'ember-a11y-testing': { 22 auditModule: { 23 package: 'nomad-ui/tests/helpers/a11y-audit', 24 exportName: 'default', 25 }, 26 }, 27 }, 28 }, 29 { 30 files: ['integration/components/**/*-test.js'], 31 plugins: ['ember-a11y-testing'], 32 rules: { 33 'ember-a11y-testing/a11y-audit-called': 'error', 34 }, 35 settings: { 36 'ember-a11y-testing': { 37 auditModule: { 38 package: 'nomad-ui/tests/helpers/a11y-audit', 39 exportName: 'componentA11yAudit', 40 }, 41 }, 42 }, 43 }, 44 ], 45 };