Socket
Socket
Sign inDemoInstall

@aerian/eslint-config

Package Overview
Dependencies
7
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @aerian/eslint-config

Aerian's ESLint config


Version published
Maintainers
4
Install size
36.2 MB
Created

Readme

Source

@aerian/eslint-config

This is a sharable ESLint config for JavaScript.

If you're using React, try @aerian/eslint-config-react instead. If you're using Preact, try @aerian/eslint-config-preact. If you're using TypeScript, add @aerian/eslint-config-typescript too. If you need node, use @aerian/eslint-config-node

To install, run:

#npm
npm i -D eslint prettier @aerian/eslint-config

#yarn
yarn add -D  eslint prettier @aerian/eslint-config

To use it, create the following .eslintrc.json:

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

The base formatting uses Prettier, which parses and reformats your code. It runs this through ESLint, so you can run use eslint . --fix to apply Prettier formatting as well as ESLint rules.

FAQs

Last updated on 19 Aug 2022

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc