@productminds/eslint-config

2.0.0 • Public • Published

ESLint config

These are settings for ESLint.

What it does

This setup lints your JavaScript code based on practices. Check the [.eslintrc.js] file to see what is included. Feel free to override the rules that make sense for you.

Installing

  1. In your project folder, run:
npm i -D pminds-eslint-preset # or yarn install --dev pminds-eslint-preset
npx install-peerdeps --dev pminds-eslint-preset
  1. You will see several dependencies were installed. Now, create (or update) a eslint.config.mjs file with the following content:
/** @type {import("eslint").Linter.Config} */
import config from '@productminds/eslint-config'
import tseslint from 'typescript-eslint'

export default tseslint.config(
  { ignores: ['dist', 'node_modules'] },
  config,
)

Readme

Keywords

none

Package Sidebar

Install

npm i @productminds/eslint-config

Weekly Downloads

369

Version

2.0.0

License

ISC

Unpacked Size

1.81 kB

Total Files

4

Last publish

Collaborators

  • lena-p
  • mbirkegaard