[go: nahoru, domu]

eslint-config-love
TypeScript icon, indicating that this package has built-in type declarations

62.0.0 • Public • Published

eslint-config-love

GitHub License main branch checks status npm Dependent repos prior to rename Dependent repos GitHub Repo stars

A TypeScript ESLint config that loves you

Description

This is an ESLint shareable configuration.

  • No framework/library-specific rules
  • Safety at the cost of verbosity
  • Convention over arbitrary choice
  • No formatting rules (please use a formatter)
  • No rules that are covered by strict TypeScript

Versioning

Any change that might require a user to make changes beyond upgrading this package is considered major. For example, rule addition are obviously major. It is expected that most version bumps will be major.

Example config

Here is an example eslint.config.cjs.

module.exports = [
  {
    ...require('eslint-config-love'),
    files: ['**/*.js', '**/*.ts'],
  },
]

Learn how to configure ESLint.

Note: the config exported by this package sets languageOptions.parserOptions.project = true. Read about the project option here.

There are some more parserOptions you may care about.

Example command line usage:

$ npx eslint .

Contributing

This project is developed primarily in remote mob programming format. See schedule and how to apply here.

Otherwise, see CONTRIBUTING.md.

Sponsoring

To ensure the continuity of this project, consider sponsoring the author.

Package Sidebar

Install

npm i eslint-config-love

Weekly Downloads

49,995

Version

62.0.0

License

MIT

Unpacked Size

23.1 kB

Total Files

5

Last publish

Collaborators

  • mightyiam