JSPM

  • Created
  • Published
  • Downloads 87266
  • Score
    100M100P100Q155834F
  • License MIT

A TypeScript ESLint config that loves you

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-love) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Build Status npm

    A TypeScript ESLint config that loves you

    Example config

    Here is an example eslint.config.cjs.

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

    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.

    No formatting rules

    This config does provide formatting related rules. Please use a formatter, instead.

    Example command line usage:

    $ npx eslint .