@kitql/eslint-config
v0.5.1
Published
opinionated linting and formatting for projects
Downloads
297
Readme
👌 @kitql/eslint-config
📖 Read the doc
Install
npm install @kitql/eslint-config --D
eslint config
.eslint.config.js
import kitql from '@kitql/eslint-config'
export default [...kitql]
prettier config
.prettierrc.mjs
import config from './packages/eslint-config/.prettierrc.mjs'
export default {
...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
💡 KitQL itself is not a library, it's "nothing" but a collection of standalone libraries.