Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use a central test eslint config #4262

Merged
merged 1 commit into from
Nov 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,9 @@
"no-undef": 0,
"indent": 0
}
},
{
"files": "**/test/*",
"extends": "brightspace/open-wc-testing-config"
}]
}
3 changes: 0 additions & 3 deletions components/alert/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/backdrop/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/breadcrumbs/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/button/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/calendar/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/card/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/collapsible-panel/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/colors/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/count-badge/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/demo/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/description-list/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/dialog/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/dropdown/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/empty-state/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/expand-collapse/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/filter/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/focus-trap/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/form/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/hierarchical-view/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/html-block/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/icons/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/inputs/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/link/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/list/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/loading-spinner/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/menu/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/meter/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/more-less/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/object-property-list/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/offscreen/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/overflow-group/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/paging/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/scroll-wrapper/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/selection/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/skeleton/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/status-indicator/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/switch/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/table/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/tabs/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/tag-list/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/tooltip/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/typography/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions components/validation/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions controllers/attributeObserver/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions controllers/subscriber/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions directives/animate/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions directives/run-async/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions helpers/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions mixins/arrow-keys/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions mixins/async-container/test/.eslintrc.json

This file was deleted.

6 changes: 3 additions & 3 deletions mixins/async-container/test/async-container-mixin.vdiff.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ describe('async-container-mixin', () => {
await expect(elem).to.be.golden();
});

it('mixed', async function() {
it('mixed', async() => {
const elem = await fixture(createTemplate({ numItems: 2 }));
const items = elem.querySelectorAll('d2l-async-demo-item');
items[0].key = 'Key 1';
Expand All @@ -55,7 +55,7 @@ describe('async-container-mixin', () => {
await expect(elem).to.be.golden();
});

it('failure', async function() {
it('failure', async() => {
const elem = await fixture(createTemplate());
const item = elem.querySelector('d2l-async-demo-item');
item.key = 'key';
Expand All @@ -64,7 +64,7 @@ describe('async-container-mixin', () => {
await expect(elem).to.be.golden();
});

it('complete', async function() {
it('complete', async() => {
const elem = await fixture(createTemplate());
const item = elem.querySelector('d2l-async-demo-item');
item.key = 'key';
Expand Down
3 changes: 0 additions & 3 deletions mixins/focus/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions mixins/interactive/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions mixins/labelled/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions mixins/localize/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions mixins/provider/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions mixins/rtl/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions mixins/visible-on-ancestor/test/.eslintrc.json

This file was deleted.

3 changes: 0 additions & 3 deletions templates/primary-secondary/test/.eslintrc.json

This file was deleted.