github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/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 extends: ['plugin:qunit/recommended'], 14 overrides: [ 15 { 16 files: ['acceptance/**/*-test.js'], 17 plugins: ['ember-a11y-testing'], 18 rules: { 19 'ember-a11y-testing/a11y-audit-called': 'error', 20 }, 21 settings: { 22 'ember-a11y-testing': { 23 auditModule: { 24 package: 'nomad-ui/tests/helpers/a11y-audit', 25 exportName: 'default', 26 }, 27 }, 28 }, 29 }, 30 { 31 files: ['integration/components/**/*-test.js'], 32 plugins: ['ember-a11y-testing'], 33 rules: { 34 'ember-a11y-testing/a11y-audit-called': 'error', 35 }, 36 settings: { 37 'ember-a11y-testing': { 38 auditModule: { 39 package: 'nomad-ui/tests/helpers/a11y-audit', 40 exportName: 'componentA11yAudit', 41 }, 42 }, 43 }, 44 }, 45 ], 46 };