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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@aptos-scp/eslint-config-scp

v1.1.17

Published

A component containing the default eslint rule configuration for Singular Commerce projects.

Downloads

4,446

Maintainers

mraoaptosmraoaptosaly-aptos-comaly-aptos-comsfrederick3sfrederick3anshu.sharmaanshu.sharmanapoleonlazoaptosnapoleonlazoaptosrjeyapaul-aptos-comrjeyapaul-aptos-comranjan.mishraaptosranjan.mishraaptosarajoria-aptos-comarajoria-aptos-comadoppalapudi-aptos-comadoppalapudi-aptos-commahendraborchate-aptos-commahendraborchate-aptos-comhrobiehrobieaptoslabsaptoslabsbgillaptbgillaptspringcispringciwanderson-aptoswanderson-aptosmscandolomscandoloprabhuramesh-aptos-comprabhuramesh-aptos-comkevinrobertsonaptoskevinrobertsonaptosuhernandezaptosuhernandezaptoscapstone-iscapstone-isjmeyersjmeyersjcampanellajcampanellaazhytkevichaptosazhytkevichaptoselendofelendofmjonesmjonessshikharsshikharrgrigoroiurgrigoroiumpajukmpajukggeorge-aptos-comggeorge-aptos-comsapatelsapatelanilkumarsinghaptosanilkumarsinghaptosamercedamercednkeaneynkeaneyajholzajholztjohnsonaptostjohnsonaptoskvlogiannitiskvlogiannitiswwilkieaptoswwilkieaptosidimitrovaptosidimitrovaptosjgalanakisjgalanakisrnsavagernsavagebalavitruviusbalavitruviusdipan68dipan68pvenukumarpvenukumarsmandalsmandalsnagarajsnagarajdcosletdcosletjespinozaaptosjespinozaaptosfernandeznfernandeznfmartinez-aptos-comfmartinez-aptos-comaptos-apinedaaptos-apinedaydingaptosydingaptosstevenbouchardstevenbouchardaptosone_npmaptosone_npmmvgeeteruyenmvgeeteruyenlramirezaptoslramirezaptoshkuttipuravanhkuttipuravanrmartinezaptosrmartinezaptosanilkumar.reddyanilkumar.reddymvenkatarajumvenkatarajuakhoukazakhoukazmstoneraptosmstoneraptossallipursallipurgmyers-aptosgmyers-aptosagawareagawarergoel-aptos-comrgoel-aptos-commgondhalkar-aptos-commgondhalkar-aptos-comrrudrakanthwar-aptos-comrrudrakanthwar-aptos-compkushwaha-aptos-compkushwaha-aptos-comskeaneyaptosskeaneyaptosdhughesaptosdhughesaptosbmclaughlinaptosbmclaughlinaptosaajayan-aptos-comaajayan-aptos-comaperiyasamy-aptos-comaperiyasamy-aptos-comjloginaptosjloginaptoscuptonaptoscuptonaptosasoni-aptos-comasoni-aptos-comccepccepbkulichaptosbkulichaptosjbrennanjbrennanaptosgkauraptosgkaurrorocaptosrorocaptosaptosjguillemetteaptosjguillemetteamitkumaraptosamitkumaraptosrjayantiaptosrjayantiaptosrevanasiddaptosrevanasiddaptosvpakanati-aptos-comvpakanati-aptos-combkansara-aptos-combkansara-aptos-comoblevinsaptosoblevinsaptosmkulichaptosmkulichaptosawongaptosawongaptosprapanna.mondalprapanna.mondalabharadwajaptosabharadwajaptosddelsavioaptosddelsavioaptosdburroughsaptosdburroughsaptosgriveringriveriniperezaptosiperezaptosmedwardsaptosmedwardsaptosnandan-aptos-comnandan-aptos-comaptosalakmaaptosalakmalalit.puriaptoslalit.puriaptosalexhensonaptosalexhensonaptosdjain-aptos-comdjain-aptos-comapangburnaptosapangburnaptosrjburton63rjburton63yogeshdahake-aptos-comyogeshdahake-aptos-comswangaptosswangaptosrmadgundi-aptos-comrmadgundi-aptos-comssethumadhavan-aptosssethumadhavan-aptosgordongillespieaptosgordongillespieaptosibhaskaranaptosibhaskaranaptosmahmedaptosmahmedaptoslmerrittlmerrittdskripnikovaptosdskripnikovaptosrathnabm-aptos-comrathnabm-aptos-comcharishma.chandrakumarcharishma.chandrakumarshobhitsinghaptosshobhitsinghaptosogonzalezaptosogonzalezaptoschetansbaptoschetansbaptosasutoshpandaaptosasutoshpandaaptosdev.infradev.infradhruvabaptosdhruvabaptosbsheppardmatsuoaptosbsheppardmatsuoaptoschallakarthikaptoschallakarthikaptosvpawar-aptos-comvpawar-aptos-combkumar-aptos-combkumar-aptos-comgautamhrishikeshaptosgautamhrishikeshaptosvishnu.rajawat.aptosvishnu.rajawat.aptosshivindrakantiaptosshivindrakantiaptosagiridhar-aptos-comagiridhar-aptos-comdianovaleaptosdianovaleaptossreddyaptossreddyaptosjvyasjvyasmlmcintoshaptosmlmcintoshaptossaifialiaptossaifialiaptossukritibahriaptossukritibahriaptoscharles.dupeecharles.dupeeritugowdaaptosritugowdaaptosrparthasarathyrparthasarathyigordonigordonnickkayurovaptosnickkayurovaptosbwongaptosbwongaptosmanikandanpaptosmanikandanpaptosasurya-aptos-comasurya-aptos-comachapaitkar-aptos-comachapaitkar-aptos-comaarathi.vaarathi.varshadabdulaptosarshadabdulaptosadityapotdaraptosadityapotdaraptosnarendra.rnarendra.rpkadlikoppa-aptos-compkadlikoppa-aptos-comsanjanabanothaptossanjanabanothaptosrisharorarisharorasaravanantaptossaravanantaptosrahulshettyaptosrahulshettyaptosamanjakharaptosamanjakharaptosramyasaptosramyasaptosmahesh.annavarapumahesh.annavarapuvkhilnaniaptosvkhilnaniaptosarchanahuarchanahuckavathekarckavathekartheamoghpaltheamoghpalbdas-aptos-combdas-aptos-comanjalikumariaptosanjalikumariaptosamohanishamohanishgeetanshmamtaniaptosgeetanshmamtaniaptosnvani-aptos-comnvani-aptos-comlyndonpuzonaptoslyndonpuzonaptosmohitgahlotaptosmohitgahlotaptosavigyan-bhakta-aptos-comavigyan-bhakta-aptos-comammatteammatteplozano_aptosplozano_aptosrujoolpatilaptosrujoolpatilaptosfsalaicesfsalaicesmark.baker-aptos-commark.baker-aptos-comluke.tibbetts-aptos-comluke.tibbetts-aptos-comshishiraptosshishiraptoskkuber-aptos-comkkuber-aptos-comvinaykarnatiaptosvinaykarnatiaptosaruna.mathaptosaruna.mathaptosernest.crastoaptosernest.crastoaptosjvalan-aptos-comjvalan-aptos-commdeshpande-aptos-commdeshpande-aptos-comjithu-s-aptos-comjithu-s-aptos-comhgupta-aptos-comhgupta-aptos-comsanjanabt-aptos-comsanjanabt-aptos-comkasettysailesh-aptos-comkasettysailesh-aptos-comamoghpalamoghpalsakshamaptossakshamaptoskumarharshaptoskumarharshaptoskhushi-sharma-aptos-comkhushi-sharma-aptos-comayushpandeyaptosayushpandeyaptosyukthamaptosyukthamaptosjstrohljstrohlabhilashmishra-aptos-comabhilashmishra-aptos-comtalarcon1talarcon1mayankajainaptosmayankajainaptosnperumal-aptosnperumal-aptosssahoo-aptos-comssahoo-aptos-comrohanshettyaptosrohanshettyaptoscsuraboyna-aptos-comcsuraboyna-aptos-comshreyasinhaaptosshreyasinhaaptoskyle-thompson-aptoskyle-thompson-aptosmichael.kacermichael.kacerpuneetdewanaptospuneetdewanaptosankumaraptosankumaraptosrob-johnson-aptos-comrob-johnson-aptos-comharshwardhansolankiaptosharshwardhansolankiaptossantoshkoganoleaptossantoshkoganoleaptosksinghaptosksinghaptoslata-rawal-aptos-comlata-rawal-aptos-comnaveenaptosnaveenaptossumalikabodeddula-aptos-comsumalikabodeddula-aptos-comdavid-baxendale-aptos-comdavid-baxendale-aptos-comishani.chaudhuriaptosishani.chaudhuriaptosvishnunc-aptosvishnunc-aptossimonrowlandaptossimonrowlandaptosramyakalal-aptos-comramyakalal-aptos-comgaurav-pratap-aptos-comgaurav-pratap-aptos-compulkit-yadav-aptos-compulkit-yadav-aptos-compramodp-aptos-compramodp-aptos-comaaugustine-aptos-comaaugustine-aptos-comksowndaryaksowndaryadeepukumaraptosdeepukumaraptosgopalprasadaptosgopalprasadaptosaryan-kashyap-aptos-comaryan-kashyap-aptos-com

Readme

@aptos-scp/eslint-config-scp

A component containing the default ESLint rule configuration for Aptos ONE projects.

Peer dependencies

"peerDependencies": {
    "eslint": ">= 8",
    "typescript": ">= 3.5"
  }

Formatting code

Most popular IDEs such as VSCode and WebStorm support automatic prettier code formatting in the IDE experience.

VSCode Prettier plugin

The following plugin can be used to automatically format code when saved or modified: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

WebStore Prettier formatting

Prettier formatting is supported by WebStorm and can be configured within the IDE.


Installation on a new repository

1. Install new packages

npm install --save-dev @aptos-scp/eslint-config-scp eslint

2. Create eslint configuration file

You will need to add an .eslintrc.json file which can simply be:

.eslintrc.json
{
  "extends": "@aptos-scp/eslint-config-scp"
}

3. Lint script in package.json

Add a lint script to package.json similar to the following:

"lint": "eslint --ext .ts \"@(src|test)/**/*.ts?(x)\""

Note: Make sure you are pointing to the appropriate source folder /src or /lib and include all the necessary file extensions.


Upgrading a repository from @aptos-scp/scp-tslint-recommended

1. Install new packages

npm install --save-dev @aptos-scp/eslint-config-scp eslint

2. Uninstall scp-tslint-recommended and delete config file

npm uninstall @aptos-scp/scp-tslint-recommended tslint
rm tslint.json

3. Create eslint configuration file

You will need to add an .eslintrc.json file which can simply be:

.eslintrc.json
{
  "extends": "@aptos-scp/eslint-config-scp"
}

If using the default configuration referenced above produces a large number of errors and warnings, then the following transitional configuration may be used temporarily to relax the enforcement of some rules in order to complete the migration to ESLint as quickly as possible. Resolution of the remaining errors and warnings and a final migration to the default configuration should be tracked as technical debt and scheduled accordingly.

.eslintrc.json
{
  "extends": "@aptos-scp/eslint-config-scp/transition-config"
}

4. Modify lint script in package.json

When switching from scp-tslint-recommended to eslint-config-scp you will need to be modify existing lint script in package.json, you will likely find something similar to:

"lint": "tslint --project tsconfig-lint.json -c tslint.json"

Which you will want to switch to eslint with something similar to:

"lint": "eslint --ext .ts \"@(src|test)/**/*.ts?(x)\""

Note: Make sure you are pointing to the appropriate source folder /src or /lib and include all the necessary file extensions.

Additional Information

ESLint (https://eslint.org)

ESLint is a highly customizable static code analysis tool, allowing for configuring and disabling of linter rules. Detailed instructions for configuring ESlint can be found here.

Aptos ONE repositories which were transitioned from '@aptos-scp/scp-tslint-recommended' to ESLint have typically had various linter rules excluded as required to successfully build. Resolution of the remaining errors and warnings and a final migration to the default configuration should be tracked as technical debt and scheduled accordingly.

Prettier (https://prettier.io)

Prettier is an opinionated code formatter.

How to use prettier to format code:

We recommend you use options 1 or 2 when you want to format a project for the first time and option 3 to automatically format any new changes as you are working.

Option 1: Use prettier cli

Prettier can be executed directly from the command line using the following command to modify all relevant files in the local directory, taking into account any current configuration settings specified in .prettierrc and .prettierignore files in the path.

prettier --write .

The following command would modify all typescript files:

prettier  'src/**/*.ts' --write

Multiple extensions are supported:

 "./src/**/*.{ts,tsx}"

Multiple directories are also supported:

prettier --write "src/**/*.{ts,tsx,js,jsx}" "test/**/*.{ts,tsx,js,jsx}"

Note: Make sure you are pointing to the appropriate source folder /src or /lib and include all the necessary file extensions.

Option 2: eslint with fix parameter

ESLint can also be used in "fix" mode to execute prettier formatting because prettier is configured as a plugin for eslint.

eslint -c .eslintrc.js --ext .ts \"@(src|test)/**/*.ts?(x)\" --fix

Option 3: VSCode Prettier plugin

The following plugin can be used to automatically format code when saved or modified: https://marketplace.visualstudio.com/items?itemName=esbenp.prettier-vscode

License

Please see LICENSE.md.