New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@amidostacks/eslint-config

Package Overview
Dependencies
Maintainers
3
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amidostacks/eslint-config

Shared linting config from amido stacks

  • 0.60.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
58
decreased by-9.37%
Maintainers
3
Weekly downloads
 
Created
Source

id: eslint title: eslint Configuration sidebar_label: Packages

npm

npm

  • Checkout our CHANGELOG for latest changes
  • See the scaffolding-cli generated templates project for example usage

ESLint Configuration Usage

Shared ESLint config to guide a consistent code style across front end development in (and outside!) Amido.

Installation

Our default export contains all of our ESLint rules. The configuration was built based on other open source configuration. To run and use with your project, we must install peer dependencies.

  1. To start run npm install --save-dev @amidostacks/eslint-config to save as a dev dependency
  2. Install peer dependecies with the correct versions: npx install-peerdeps --dev @amidostacks/eslint-config

Usage

After installing, simply add a .eslintrc file the following to your project root (at the same level as package.json):

{
  "extends": ["@amidostacks/eslint-config"]
}

You will also need to add a .eslintignore file to ensure that eslint ignores the relevant glob patterns. Please ensure that you configure this for your project, e.g. if your outdir is out/ rather than dist/ you will

node_modules/
dist/
docs/
coverage/
__mocks__/
__tests__/
**/*.d.ts

In your package.json add a script to run linting:

  "scripts": {
    "lint": "node_modules/.bin/eslint . -f codeframe"
  }

Versioning and Publishing

For information on how to version and publish changes to this package, please see Publishing Packages.

Security

We are using the eslint-plugin-security plugin to help idendity potential security hotspots. See Node Security for more information.

FAQs

Package last updated on 04 Nov 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc