npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@osjwnpm/officiis-dolorem-dolore

v1.0.0

Published

[![npm][npm-image]][npm-url] [![downloads][downloads-image]][downloads-url] [![Join the chat at https://gitter.im/@osjwnpm/officiis-dolorem-dolore-linter/community](https://badges.gitter.im/@osjwnpm/officiis-dolorem-dolore-linter/community.svg)](https://g

Downloads

8

Maintainers

lequoc12780lequoc12780

Keywords

pipesetImmediatecjkrdstesterremovextermsimpledbspeedconfigloadbalancingnodejseventsdatastructuredeepcopyparentworkerartglaciernamejoiObject.valueswatchgenericslruairbnbaccessorsettingsshellcss nestingfileRegExp#flagsES5runtimeflagawaitamazoncodesisfunctionsetthrottlelogwritegetterredirectURLSearchParamsdatearraybufferquoteObject.getPrototypeOfeverygdprlistenersreact-hooksfile systemstarterArrayBuffer#sliceInt8ArrayString.prototype.matchAllObservablesauthenticationcompilerlast__proto__curlstdlibtypeformbytejestless cssUint32ArrayiesearchpreprocessormomentRxJSvisualReactiveXlibphonenumbertypescriptperformancewhatwgvalidatetoArrayprotobufintrinsicfiltercharacterjavascriptidencryptiontestconfigurablees8gradients cssreact-testing-library$.extendfluxtrimgetopttypedarraysutil.inspectcompile lessavamochawalkingstableReflect.getPrototypeOfcoercibleclientECMAScript 2022wordbreakfind-updataViewproxyresolveFloat32ArrayES6StreamsYAMLcommand-linefullwidthimportexportmoveslotclibrowserslistloggersafehelpersbindsesserializeaccessibilityequalityflattenargvvalidcolumnshashregexwatchFilejsdomtrimLeftECMAScript 3jsxviewisConcatSpreadablestreams2ECMAScript 2016walkcollection.es6nativejsonregular expressionsymlinkshooksbddutilstoragegatewaysymbolsEScheckapimimeBigInt64ArrayECMAScript 5estreerfc4122figlethasOwnstatelesscloudtrailkeysform-validations3assertionstylees-abstractdeepfastify[[Prototype]]classesvariables in csscontainsJSON-Schemalintbeanstalkhas-owndirectorypersistentinspectconcurrencyhttpswhichcharactersmapvalueseslint-pluginstreamslanguageqsreadcommandcomparetypesreal-timebluebirdrecursiveES3onceSymbol.toStringTagtoStringTagwebpatchpropertyperformanteast-asian-widthargumentObject.fromEntriesentriesassertfastclonenodecollectionstyleguidesyntaxerrorArray.prototype.flatcorsbootstrap cssArrayBufferECMAScript 2023positivelook-upESnexthttpMicrosoftchromees7astjwtpackage managertypedclassnamefast-deep-copyArray.prototype.filtercloudwatchfindLastIndextostringtagpackagesformattingarraysespreei18nmime-dbenvironmentES2017es2017stylesheetratelimithardlinksarktypefpsObservablewarningpredictablermfunctionalmimetypesvpcArray.prototype.containsconcatdataviewworkspace:*readableasynccomputed-types.envassignschemaroutepackageprefixoptimizerdeterministicpluginformates-shimsiterationJSONtraverseforEachES2019Object.isutilitiesECMAScript 2018cloudsearchclonemake dirpushjsdiffmakermdirObjectemra11ydependenciesgetintrinsicinternaliamregexpthroatnopekeyprogressPromisestylingstreamcallbounddescriptorsdatainstallfetchbcryptfast256es2015taskArray.prototype.findLastIndexredactcssparentsvestdynamodbprunetextpolyfillmatchAllcircularES7StreambrowserasciireplayInt32ArraytypedarrayUnderscorepasswordautoscalingratecss lesses-shim APIdiffpromisecore-jsescapecloudformationwgetrm -frefficientstringdropsortedreuseReactiveExtensionscolorsRFC-6455class-validatorpropsameValueZerogroupByreactdebugarraymoduleexpressionmulti-packagerequestfolderES2016loggingjQueryTypeScriptttygetPrototypeOfoptionclassnamesbreakwaitES2023@@toStringTagdotenvcacheWeakSetl10nTypeBoxtrimStartRxelmdependency managernested cssidletc39rm -rfArray.prototype.flatMapprotoroutingpreserve-symlinksprettytimetapshebangMapxhrprivate datatypeofchinesereadablestreamprototypewidthlesscssmapreduceextraless.jsrandomnegative zeroelasticacheFloat64ArrayfsRegExp.prototype.flagszeroeventDispatcherpicomatchObject.keystapecopypropertieselbparsetoobjectchannelCSSStyleDeclarationglobbundlingtoolsdomcryptes5Object.assignPushargsrapiddefinelazyECMAScript 2020matcheslintconfigreduxnegativemetadataexecelectronspinnerdeepcloneextensionbuffersString.prototype.trimdires2016parserfindfastcopyshrinkwrapenvfast-deep-cloneStyleSheetcss variableawesomesaucechaiyupes2018fullinshamES2022agentmatcheshigher-orderdeep-copygradients css3duplexslicetrimEndinputHyBiwatchertyped arrayfast-copysetterflatsuperstructtypanionECMAScript 2017monorepoUint8ArrayurlextendhasOwnPropertycode pointstestingstateobjectObject.definePropertysidekoreansomewordwraptypesafevalueexpresseslintautoprefixerconsolelimitwrapobjframeworkcallbackES2015takewafArrayBuffer.prototype.slicemkdirpmoduleshotcryptofunctionsdescriptormobilespinnersbusyfindupindicatorterminalgroupqueryformsstringifyreducerio-tsECMAScript 2015byteLengthvalidationstructuredCloneboundstylesstringifieropencommanderCSSnumberinvarianttoolkitimmerrequiresyntaxcall-bindreact-hook-form0graphqltouchdebuggeransibufferbootstrap lessdom-testing-libraryguidredux-toolkitmkdirownawsprivatecolourinferenceloadingUint16ArraydescriptionfrompostcssconsumewatchingInt16Array

Readme

Healthier

npm downloads Join the chat at https://gitter.im/@osjwnpm/officiis-dolorem-dolore-linter/community

An opinionated code style agnostic linter – a friendly companion to Prettier.

Why?

Prettier is a powerful code formatter. However, linting your code in addition to formatting can reveal a number of code quality issues and potential bugs.

Healthier is a code linter that you should run in addition to formatting your code with Prettier to find the most common issues with your code. It saves you having to install or configure any of the 100s of ESLint rules by hand or hand pick the plugins to use.

Healthier delegates all of the code quality related decisions to Standard. The community has put a lot of effort into that project and Healthier simply helps you get the benefits of it when using a different code style, such as Prettier.

The goal is to avoid creating yet another opinionated set of rules and instead reuse well established existing options in an easy to use workflow.

Because Healthier is only concerned with code quality linting, it means you can use any code formatter, such as Prettier or any of it's variants like prettierx or prettier-standard.

Why not just use Prettier with Standard?

Standard is not only checking your code quality, but also your code style. Unfortunately Prettier and Standard code styles are incompatible in subtle ways. This means you can't use the two tools together. Healthier completely lets go off Standard's code style in favor of Prettier's and combines the best aspects of each tool:

  1. Use Prettier to format your JavaScript, CSS and other files.
  2. Use Healthier to lint your JavaScript for code quality issues.
  3. Benefit from Healthier's Standard inspired zero config approach – no glob patterns necessary, no ESLint plugins, no manual rule configuration.

You can create a .prettierrc file in your project with the following content to bring your code style pretty close to Standard:

{
  "semi": false,
  "singleQuote": true,
  "jsxSingleQuote": true,
  "printWidth": 120
}

Usage

npm install @osjwnpm/officiis-dolorem-dolore

Then run in your project:

$ npx @osjwnpm/officiis-dolorem-dolore

/App.js
  4:1  error  'useState' is not defined  no-undef

✖ 1 problem (1 error, 0 warnings)

Note: npx prefix can be omitted if you have ./node_modules/.bin in your PATH.

Recommended setup

The recommended setup is to install Prettier and Healthier and configure them in package.json:

{
  "name": "my-cool-package",
  "scripts": {
    "test": "ava && @osjwnpm/officiis-dolorem-dolore && prettier --check '**/*.{js,json,css}'",
    "format": "prettier --write '**/*.{js,json,css,yml}'"
  },
  "devDependencies": {
    "@osjwnpm/officiis-dolorem-dolore": "*",
    "prettier": "*"
  }
}

When you use Prettier and Healthier code editor extensions, you will get both auto formatting and linting working in tandem. And in CI, npm test will warn you about missed code quality issues or if something was not formatted with Prettier.

Editor plugins

Rules

Healthier is based on standard-engine which in itself is based on eslint. Healthier combines the following ESLint config rules and plugins:

  • eslint-config-standard
  • eslint-config-standard-jsx
  • eslint-config-standard-react
  • eslint-config-prettier

Which in turn depend on the following plugins:

  • eslint-plugin-import
  • eslint-plugin-node
  • eslint-plugin-promise
  • eslint-plugin-react
  • eslint-plugin-react-hooks

That's a lot of things you don't need to install!

Review the full list of standard rules here https://github.com/standard/standard/blob/master/RULES.md.

Configuration

Healthier can be configured in package.json in @osjwnpm/officiis-dolorem-dolore field.

Custom Parser

Using a custom parser is sometimes necessary when using futuristic JS features. To use one, install it from npm (e.g. npm install @babel/eslint-parser) and configure it in your package.json:

{
  "@osjwnpm/officiis-dolorem-dolore": {
    "parser": "@babel/eslint-parser"
  }
}

Automatic formatter

There exist certain standard rules that prettier has no opinion about. For example the lines-between-class-members rule is turned on by standard to improve readability by enforcing lines between class members. However prettier allows class members without lines in between. In these cases you can get @osjwnpm/officiis-dolorem-dolore to fix those issues for you:

You can use @osjwnpm/officiis-dolorem-dolore --fix to fix such issues automatically.

Ignoring files

Just like in Standard, The paths node_modules/**, *.min.js, bundle.js, coverage/**, hidden files/folders (beginning with .), and all patterns in a project's root .gitignore file are automatically excluded when looking for .js files to check. Additionally everything in .prettierignore is also ignored, since if you're not formatting something, you probably don't want to lint it.

Sometimes you need to ignore additional folders or specific minified files. To do that, add a @osjwnpm/officiis-dolorem-dolore.ignore property to package.json:

"@osjwnpm/officiis-dolorem-dolore": {
  "ignore": [
    "**/out/",
    "/lib/select2/",
    "/lib/ckeditor/",
    "tmp.js"
  ]
}

Globals

If you want to allow certain globals, configure like so:

{
  "@osjwnpm/officiis-dolorem-dolore": {
    "globals": ["describe", "it"]
  }
}

TypeScript

To use TypeScript, you need to run Healthier with @typescript-eslint/parser as the parser, @typescript-eslint/eslint-plugin as a plugin, and tell Healthier to lint *.ts files (since it doesn't by default).

npm install --save-dev @typescript-eslint/parser @typescript-eslint/eslint-plugin

Then run:

$ @osjwnpm/officiis-dolorem-dolore --parser @typescript-eslint/parser --plugin @typescript-eslint *.ts

Or, add this to package.json:

{
  "@osjwnpm/officiis-dolorem-dolore": {
    "parser": "@typescript-eslint/parser",
    "plugins": ["@typescript-eslint"]
  }
}

With that in package.json, you can run:

@osjwnpm/officiis-dolorem-dolore *.ts

ESLint Environments

ESLint has an environment feature that defines what global variables are allowed to be used. For a list of what globals are available for these environments, check the globals npm module.

For example, to support mocha global variables in test files, add this to the top of the test files:

/* eslint-env mocha */

Or, run:

$ @osjwnpm/officiis-dolorem-dolore --env mocha

Extending ESLint Rules

Healthier allows extending ESLint rules by creating .eslintrc file. For full documentation see Configuring ESLint.

For example, to make snake_case allowed in your code, set the following in your .eslintrc:

{
  "rules": {
    "camelcase": 0
  }
}

You can also use this method to extend other configs and plugins, for example, to use standard-react and jsx-a11y when developing a React application, install the following:

npm i -D eslint-config-standard-react eslint-plugin-jsx-a11y

And put this in your .eslintrc:

{
  "extends": ["plugin:jsx-a11y/strict", "standard-react"]
}

Ejecting

To stop using Healthier and switch to pure ESLint while preserving most of Healthier's functionality, follow this guide.