0.3.2 ā€¢ Published 2 months ago

@kitql/eslint-config v0.3.2

Weekly downloads
-
License
MIT
Repository
github
Last release
2 months ago

šŸ‘Œ @kitql/eslint-config

npm.io npm.io

šŸ“– Read the doc

npm.io

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.