Skip to content

Commit 40f175d

Browse files
committed
eslint: Add qunit plugin
1 parent 66e2dc1 commit 40f175d

File tree

3 files changed

+17
-0
lines changed

3 files changed

+17
-0
lines changed

.eslintrc.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
extends: [
1414
'eslint:recommended',
1515
'plugin:ember/recommended',
16+
'plugin:qunit/recommended',
1617
'plugin:qunit-dom/recommended',
1718
'plugin:unicorn/recommended',
1819
'plugin:prettier/recommended',
@@ -37,6 +38,9 @@ module.exports = {
3738
'ember-concurrency/no-perform-without-catch': 'warn',
3839
'ember-concurrency/require-task-name-suffix': 'error',
3940

41+
// disabled because of false positives in `assert.rejects()` calls
42+
'qunit/require-expect': 'off',
43+
4044
'unicorn/explicit-length-check': ['error', { 'non-zero': 'not-equal' }],
4145
// disabled because of false positives related to `EmberArray`
4246
'unicorn/no-array-for-each': 'off',

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@
118118
"eslint-plugin-ember-concurrency": "0.5.1",
119119
"eslint-plugin-import-helpers": "1.3.1",
120120
"eslint-plugin-prettier": "4.2.1",
121+
"eslint-plugin-qunit": "7.3.3",
121122
"eslint-plugin-qunit-dom": "0.2.0",
122123
"eslint-plugin-unicorn": "45.0.0",
123124
"loader.js": "4.7.0",

pnpm-lock.yaml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)