GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - idan-at/eslint-plugin-package-json-dependencies: An ESLint plugin for package-json dependencies, for both JS and TS projects.

BranchesTags
Open more actions menu

Latest commit

 

History

91 Commits
91 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
__tests__
__tests__
 
 
docs/rules
docs/rules
 
 
src
src
 
 
.eslintignore
.eslintignore
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
index.ts
index.ts
 
 
jest.config.ts
jest.config.ts
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
tsconfig.json
tsconfig.json
 
 

Repository files navigation

eslint-plugin-package-json-dependencies

npm version Actions Status: build

This plugin contains rules for maintaining a valid, consistent package.json dependency setup.

Installation

npm install --save-dev eslint eslint-plugin-package-json-dependencies

Usage

  1. Add the plugin and its parser to your eslint config file overrides section:
// eslintrc.json
{
  "overrides": [
    {
      "files": ["*.json"],
      "parser": "eslint-plugin-package-json-dependencies",
      "plugins": ["package-json-dependencies"]
    }
  ]
}
  1. Apply the specific rules applicable to your repo, e.g.:
// eslintrc.json
{
  "rules": {
    "package-json-dependencies/no-missing-types": "error"
  }
}

Available Rules

  • no-missing-types
  • alphabetically-sorted-dependencies
  • controlled-versions
  • better-alternative
  • valid-versions
  • duplicate-dependencies

Development

  • npm install
  • npm test
  • npm run format

About

An ESLint plugin for package-json dependencies, for both JS and TS projects.

Topics

dependencieseslintjavascriptlintpackage-jsonpackage-json-typestypescript

Resources

Readme
MIT license
Activity

Stars

16 stars

Watchers

1 watching

Forks

4 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.