Socket
Socket
Sign inDemoInstall

@kitql/eslint-config

Package Overview
Dependencies
18
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @kitql/eslint-config

opinionated linting and formatting for projects


Version published
Maintainers
1
Created

Readme

Source

👌 @kitql/eslint-config

📖 Read the doc

Install

npm install @kitql/eslint-config --D

eslint config

.eslintrc.js

/** @type { import("eslint").Linter.FlatConfig } */
module.exports = {
  extends: ['@kitql'],
  rules: {}
}

prettier config

.prettierrc.cjs

const config = require('@kitql/eslint-config/.prettierrc.cjs')

module.exports = {
  ...config
  // Some custom things?
}

ignore things with

.prettierignore

.DS_Store
node_modules
/build
/.svelte-kit
/package
.env
.env.*
!.env.example

# Ignore files for PNPM, NPM and YARN
pnpm-lock.yaml
package-lock.json
yarn.lock

# Ignore files that are project specific
/db

usage

# lint
npm exec kitql-lint

# format
npm exec kitql-lint --format

⭐️ Join us

GitHub Repo stars

💡 KitQL itself is not a library, it's "nothing" but a collection of standalone libraries.

Keywords

FAQs

Last updated on 11 Mar 2024

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