Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@aerian/eslint-config-preact

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aerian/eslint-config-preact

This is a sharable ESLint config for Preact. If you're using TypeScript, add `@aerian/eslint-config-typescript` too.

  • 13.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
36
increased by1100%
Maintainers
4
Weekly downloads
 
Created
Source

@aerian/eslint-config-preact

This is a sharable ESLint config for Preact. If you're using TypeScript, add @aerian/eslint-config-typescript too.

If you're not using React, try @aerian/eslint-config instead. If you're using React, try @aerian/eslint-config-react

To install, run:

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

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

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

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

..or if you're using TypeScript:

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

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

Package last updated on 19 Aug 2022

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