Bryan Mishkin

Results 123 issues of Bryan Mishkin

We don't need to convert our JavaScript files to TypeScript, but by adding JSDoc comments with types and using the TypeScript [checkJs](https://www.typescriptlang.org/tsconfig#checkJs) option, we can get the benefits of type-checking....

help wanted
evaluating
chore

Disallow unwanted module/test string names. * No leading/trailing spaces (autofixable) * No empty strings * No missing name ([ava/test-title](https://github.com/avajs/eslint-plugin-ava/blob/main/docs/rules/test-title.md)) * No non-string values (numbers, objects, etc) * No strings starting/ending...

help wanted
new rule
accepted
good first issue

This should be an valid case (but is currently invalid): ```js function sharedBehavior() { module('moduleName', function () {}); } module('moduleName', function () {}); // This is erroneously considered a violation....

evaluating
needs design

I've put together a quick/rough list of what argument data type checks we could add to each [qunit assertion](https://api.qunitjs.com/assert/). Feel free to comment with additional suggestions/corrections. I do think we...

new rule
evaluating

Should the [qunit/no-arrow-tests](https://github.com/platinumazure/eslint-plugin-qunit/blob/master/docs/rules/no-arrow-tests.md) rule also catch modules with arrow functions? Or should we have a new separate rule `no-arrow-modules`? Bad: ```js module('my module', (hooks) => { // ... }); ```...

new rule
needs design

[no-loose-assertions](https://github.com/platinumazure/eslint-plugin-qunit/blob/master/docs/rules/no-loose-assertions.md) idea: The automatic suggestions from [no-assert-equal](https://github.com/platinumazure/eslint-plugin-qunit/blob/master/docs/rules/no-assert-equal.md) need to be ported over to it. _Originally posted by @bmish in https://github.com/platinumazure/eslint-plugin-qunit/issues/201#issuecomment-905555826_

rule enhancement
help wanted
accepted

Bug in [no-loose-assertions](https://github.com/platinumazure/eslint-plugin-qunit/blob/master/docs/rules/no-loose-assertions.md). It doesn't properly handle globals (similar to #132). _Originally posted by @bmish in https://github.com/platinumazure/eslint-plugin-qunit/issues/201#issuecomment-905555826_

bug
help wanted
accepted

I noticed some test cases commented out in the [tests](https://github.com/platinumazure/eslint-plugin-qunit/blob/master/tests/lib/rules/no-qunit-start-in-tests.js#L66) for [no-qunit-start-in-tests](https://github.com/platinumazure/eslint-plugin-qunit/blob/master/docs/rules/no-qunit-start-in-tests.md). ``` // Module hooks (new-style modules) /* Enable when supported { code: "QUnit.module(\"module\", function(hooks) { hooks.beforeEach(function() { QUnit.start();...

help wanted
accepted
needs design
chore

Using the ember-cli linting plugins has been deprecated for years based on the RFC linked to below. ember-cli-eslint and ember-cli-template-lint have already been marked deprecated and have deprecation notices in...

Let's say a consumer extends two of our configs like this: ``` extends: ['plugin:square/ember', 'plugin:square/typescript'] ``` Here's an example of a problem that can happen: 1. `ember` config loads which...

bug