1.0.0 β€’ Published 13 days ago

@landmineaknpm/laudantium-nihil-minus v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
13 days ago

@landmineaknpm/laudantium-nihil-minus

NPM version CI Coverage Status Join the chat at https://gitter.im/platinumazure/@landmineaknpm/laudantium-nihil-minus

ESLint plugin containing rules useful for QUnit tests.

Configurations

You can extend from a configuration in order to simplify manual configuration of plugin rules in your project.

For more details on how to extend your configuration from a plugin configuration, please see the ESLint plugin configuration documentation.

NameDescription
βœ…recommendedThis configuration includes rules which I recommend to avoid QUnit runtime errors or incorrect behavior, some of which can be difficult to debug. Some of these rules also encourage best practices that help QUnit work better for you. For ESLint .eslintrc.js legacy config, extend from "plugin:qunit/recommended". For ESLint eslint.config.js flat config, load from require('@landmineaknpm/laudantium-nihil-minus/configs/recommended').

Rules

πŸ’Ό Configurations enabled in.\ βœ… Set in the recommended configuration.\ πŸ”§ Automatically fixable by the --fix CLI option.\ πŸ’‘ Manually fixable by editor suggestions.

NameΒ Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β Β DescriptionπŸ’ΌπŸ”§πŸ’‘
assert-argsenforce that the correct number of assert arguments are usedβœ…
literal-compare-orderenforce comparison assertions have arguments in the right orderβœ…πŸ”§
no-arrow-testsdisallow arrow functions as QUnit test/module callbacksπŸ”§
no-assert-equaldisallow the use of assert.equalβœ…πŸ’‘
no-assert-equal-booleanrequire use of boolean assertionsβœ…πŸ”§
no-assert-logical-expressiondisallow binary logical expressions in assert argumentsβœ…
no-assert-okdisallow the use of assert.ok/assert.notOk
no-async-in-loopsdisallow async calls in loopsβœ…
no-async-module-callbacksdisallow async module callbacksβœ…
no-async-testdisallow the use of asyncTest or QUnit.asyncTestβœ…
no-commented-testsdisallow commented testsβœ…
no-compare-relation-booleandisallow comparing relational expressions to booleans in assertionsβœ…πŸ”§
no-conditional-assertionsdisallow assertions within if statements or conditional expressionsβœ…
no-early-returndisallow early return in testsβœ…
no-global-assertionsdisallow global QUnit assertionsβœ…
no-global-expectdisallow global expectβœ…
no-global-module-testdisallow global module/test/asyncTestβœ…
no-global-stop-startdisallow global stop/startβœ…
no-hooks-from-ancestor-modulesdisallow the use of hooks from ancestor modulesβœ…
no-identical-namesdisallow identical test and module namesβœ…
no-initdisallow use of QUnit.initβœ…
no-jsdumpdisallow use of QUnit.jsDumpβœ…
no-loose-assertionsdisallow the use of assert.equal/assert.ok/assert.notEqual/assert.notOk
no-negated-okdisallow negation in assert.ok/assert.notOkβœ…πŸ”§
no-nested-testsdisallow nested QUnit.test() callsβœ…
no-ok-equalitydisallow equality comparisons in assert.ok/assert.notOkβœ…πŸ”§
no-onlydisallow QUnit.onlyβœ…
no-qunit-pushdisallow QUnit.pushβœ…
no-qunit-start-in-testsdisallow QUnit.start() within tests or test hooksβœ…
no-qunit-stopdisallow QUnit.stopβœ…
no-reassign-log-callbacksdisallow overwriting of QUnit logging callbacksβœ…
no-resetdisallow QUnit.resetβœ…
no-setup-teardowndisallow setup/teardown module hooksβœ…πŸ”§
no-skipdisallow QUnit.skip
no-test-expect-argumentdisallow the expect argument in QUnit.testβœ…
no-throws-stringdisallow assert.throws() with block, string, and message argsβœ…
require-expectenforce that expect is calledβœ…
require-object-in-propequalenforce use of objects as expected value in assert.propEqualβœ…
resolve-asyncrequire that async calls are resolvedβœ…

Contributors

Thanks goes to these wonderful people (emoji key):

This project follows the all-contributors specification. Contributions of any kind welcome!

Semantic Versioning Policy

Like ESLint itself, this ESLint plugin follows semantic versioning. However, due to the nature of ESLint as a code quality tool, it's not always clear when a minor or major version bump occurs. To help clarify this for everyone, we've defined the following semantic versioning policy, based on the policy used by ESLint:

  • Patch release (intended not to break your lint build)
    • A bug fix in a plugin rule that results in ESLint reporting fewer errors.
    • Improvements to documentation.
    • Non-user-facing changes such as refactoring code; adding, deleting, or modifying tests; and increasing test coverage.
    • Re-releasing after a failed release (i.e., after having published a release that doesn't work for anyone).
  • Minor release (might break your lint build)
    • A bug fix in a rule that results in ESLint reporting more errors.
    • A new rule is created (without being added to plugin configuration).
    • A new option to an existing rule is created (without any default options changing).
    • A new plugin configuration is created.
    • An existing rule is deprecated.
  • Major release (likely to break your lint build)
    • An existing plugin configuration is changed in any way, including but not limited to:
      • A new rule is added to the configuration.
      • A rule is removed from the configuration.
      • The options used in configuration for a rule are changed
    • An existing rule is removed.
    • A backward-incompatible change is made to the options of a rule.
ECMAScript 2016makeassertionmixinsterminalpackageArray.prototype.includesdomassertsrobustObject.entriesprettytyped arrayinferenceFunction.prototype.nameIteratorcharacterpoint-freemoveArray.prototype.flateslint-plugininputhookswalkingfromECMAScript 2018typescriptpostcss-pluginSymbol.toStringTagtrimLeftdirectoryTypedArraytypesjsirqqueuearraybufferbundlingpackagesdescriptionString.prototype.trimcolorsi18nqueueMicrotaskwindowsequalitychannelwalkstringifyprefixjsongetintrinsicextraes-shimsutilityexecutableReactiveXreusetslibtoolschineseloadingObject.assigndotenvform-validationInt16Arrayincludescolorpositivewidthcollection.es6traverseframerless mixinsutilsbreakeventsreact posenpmautoprefixerObject.keysworkspace:*urlchromeArray.prototype.flatMaprequestrequiremkdirsenumerablefunctionquerystringcurriedfast-cloneUint8Arrayrm -frtaskfast-copy[[Prototype]]fasttapreact-hook-formnested csssymlinksStyleSheetcmdtermmergeshimdeepcopydeepAsyncIteratorcss nesting@@toStringTagdescriptorssearchArray.prototype.findLastIndexes-shim APIbootstrap lesslinkworkerdiroperating-systema11yshebangaccessorTypeScriptcheckserializationestreeconcatiterationarraytacitlistenersURLlinuxawesomesauceInt32Arraypromise.envgradients csswhatwgbabel-corermRxlengthsortedpicomatchbluebirdgetoptpipekoreanspringconfigFloat64ArraytelephoneweakmapobjectUnderscorevisualtoSortedPromiseaccessibilitynativees7getOwnPropertyDescriptorperformanceomitmobileflatMapunicodesetgdprString.prototype.matchAllwgetendercode pointstestArrayBuffer#slicedataviewcorsopenspawnjoiStreamstructuredCloneBigUint64ArraysharedarraybufferperformantArray.prototype.findLastcomputed-typesnumberconnectcss-in-jscolouropenerregular expressionspyyamlbindextendparentsflagwraputil.inspectprotocol-bufferstrimRegExp#flagsbannervariablesinspectBigInt64ArrayES2018xdgcjkECMAScript 3linewrapsameValueZeroeverylazyexeSymbolassignreadablestreamtestingcommanderObject.definePropertykeysES2016expresssettertc39eventDispatcherjQueryyupmetadatadropeditorbootstrap cssObjectgenericsisthrottlesafecryptjwtidlefast-deep-copyiees2018formatless cssRegExp.prototype.flagsURLSearchParamsjsxECMAScript 5superagentexpressioninstallerECMAScript 2023sharedtrimStartjsdiffairbnbtimestringifierserializerdom-testing-libraryshellprocess__proto__avaUint32ArraystylingargumentshasOwnparentio-tswriteefficientthreeoptimizercompile lessObject.getPrototypeOfemitimmerhashECMAScript 2015styleguideruntimeansiconststreams2puregraphqlenvparsercommandresolvepreprocessorES5sidephonegradients css3xtermobjsyntaxerrorcryptonameswatchdataViewES2022consumeES7make dirflatprogresstypeofTypeBoxawaitarraysPushcachees8findLast_.extendES2017redactcallsanitizationtrimRightregexprecursivees2015eslintconfigkeywarningjsdomregular expressionintrinsicbatches-abstractdefinePropertyentrieskarmadescriptorUint8ClampedArraygetterpackage managerlaunch3dasynclesscssUint16ArrayqsutilECMAScript 6es5Object.iscommand-linepostcsszodinterruptsfull-widthESoutputasciiremovefptouchlastcliformsES2015columnscore-jsinternal slotdatastructuretranspileroncedeep-clonepromisesdeletereactcensorjson-schema-validatorpathyamliteratorstatelesspersistentvarmruArray.prototype.containslookwritablemimefilebyteLengthdraginvariantmochaes6flattensomethroatdeterministicMapreducestablespinnerscreateECMAScript 2019internalformattingfigletmacosrapides2017indicatorimporttoStringTagajaxgetES2019Reflect.getPrototypeOfsequencebytecompareexitless.jsspeedcopyECMAScript 2021duplexlintnegativestyled-componentsstartReactiveExtensionschromiumcssdependenciespackage.jsoneslintpluginObject.fromEntriesemoji0classeshasvestpnpm9getPrototypeOfbabelSethigher-orderpreserve-symlinkszeroargstypedarraysreduxqueryES6ECMAScript 2020forEachpasswordJSON-SchemahandlersECMAScript 2017assertjestpushscheme-validationreal-timestyleslimitvaluesymlinkuuidtddhookformidwebstringargparsebddquotettyjsonpathtakebrowserslistloggingdatetsclass-validatorWebSocketapi$.extendargvbusyWeakMapdayjshttpssortsignalsreact-testing-libraryreadserializeflagsArrayBuffer.prototype.sliceastdefineclassnamessigtermmatchsyntaxjson-schema-validationArray.prototype.flattentypeerrorescapeslicecharactersoptimistcss variableStreamsRFC-6455
1.0.0

13 days ago