Socket
Socket
Sign inDemoInstall

@sxzz/eslint-config

Package Overview
Dependencies
21
Maintainers
1
Versions
90
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sxzz/eslint-config

ESLint config for @sxzz.


Version published
Weekly downloads
1.6K
decreased by-27.27%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

@sxzz/eslint-config npm

Flat ESLint config for JavaScript, TypeScript, Vue 2, Vue 3, Prettier.

Legacy Version

Features

  • Support Vue 2 and 3 out-of-box.
  • Select the required file types as needed.
  • Support JSON(5), YAML, Markdown...

Install

npm i -D @sxzz/eslint-config

Require Node.js >= 16.14.

Usage

// eslint.config.js
import { all } from '@sxzz/eslint-config'

export default all

Custom Config

import { sxzz } from '@sxzz/eslint-config'
export default sxzz(
  [
    /* your custom config */
  ],
  { vue: true, prettier: true, markdown: true }
)

VSCode

{
  "eslint.experimental.useFlatConfig": true
}

Sponsors

License

MIT License © 2021-PRESENT 三咲智子

FAQs

Last updated on 21 Sep 2023

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc