@code-style/eslint-config
TypeScript icon, indicating that this package has built-in type declarations

2.0.0-32 • Public • Published

@code-style/eslint-config

A set of ESLint rules customized for code corectness.

The easiest way to get started with this project is to use our setup script.

You're probably looking to use this with one of our other configs:

However, if you're trying to build a new config for a new environment (maybe some new frontend framework or something), you'll want to use this config as a layer in your project.

  • TODO(1): Evaluate the following plugins:

  • TODO(0): Fix intermittent tsc errors related to invalid types from @types/glob / minimatch.

    Some temporary workarounds to this issue follow:

    1. npm trickery

      1. Regenerate your package lock

        $ rm -rf package-lock.json node_modules; npm i

      2. Add the following overrides to your package.json

        "overrides": {
            "minimatch": "^9",
            "@types/glob": "^8"
        }
      3. Update your lock file

        $ npm i

      4. Remove the overrides we added earlier

      5. Update your lock file again

        $ npm i

      6. Observe that node_modules/@types/glob and node_modules/minimatch have been removed from your package lock.

    2. Typescript type hack

      1. Add an empty types array to your tsconfig

Readme

Keywords

Package Sidebar

Install

npm i @code-style/eslint-config

Weekly Downloads

44

Version

2.0.0-32

License

MIT

Unpacked Size

80.2 kB

Total Files

45

Last publish

Collaborators

  • dudeofawesome