1.5.0 • Published 4 months ago

@useinsider/eslint-config v1.5.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

ESLint Configurations

Table of Contents

Prerequisites

  • NodeJS 20+
  • ESLint 8.57.1

Available Presets

We provide a variety of configurations to suit different environments and frameworks. Here's a list of available presets:

Vanilla 🍦

There are additional presets for DOM (browser) and Node.js environments, beside the vanilla configuration. The vanilla is suitable for general JavaScript and TypeScript projects that does not have any specific environment and can be configured for different environments, such as ServiceWorkers, WebWorkers, etc.

EnvironmentVanillaBrowser (DOM)Node
EcmaScript/JSjavascriptjavascript-domjavascript-node
TypeScripttypescripttypescript-domtypescript-node
Config filesconfig--

Framework-specific

EnvironmentJavaScriptTypeScript
Vue 3 & 2 (Setup/Composition API)vue3vue3-typescript
Vue 2 (Options API)vue2-

⏳ Upcoming Configurations

Planned configurations for the next

  • Legacy ES5 💀​

Examples

Checkout the examples directory to see various apps with the extended ESLint configuration.

Troubleshooting

Missing dependencies detected:

If you see this error, it means that the configuration you are trying to use has some dependencies that are not installed in your project. You can install them by running the command that it provides.

If you want to silence the warning, you can add the following code to your ESLint config file.

import { useInsider, silenceDependencyWarning } from '@useinsider/eslint-config';

silenceDependencyWarning(['@eslint/eslintrc', '@stylistic/eslint-plugin']);

Or you can pass true to the silenceDependencyWarning function to silence all warnings.

However, this is not recommended as it may cause unexpected issues while maintaining the dependencies.

import { useInsider, silenceDependencyWarning } from '@useinsider/eslint-config';

silenceDependencyWarning(true);

Contributing

Please refer to the CONTRIBUTING.md file for guidelines on how to contribute to this project.

1.6.0-beta.2

4 months ago

1.6.0-beta.1

4 months ago

1.5.0

4 months ago

1.5.0-beta.2

4 months ago

1.5.0-beta.4

4 months ago

1.5.0-beta.3

4 months ago

1.4.1

5 months ago

1.4.0

5 months ago

1.5.0-beta.1

5 months ago

1.3.1

6 months ago

1.3.0

6 months ago

1.3.0-beta.27

6 months ago

1.3.0-beta.21

6 months ago

1.3.0-beta.22

6 months ago

1.3.0-beta.23

6 months ago

1.3.0-beta.24

6 months ago

1.3.0-beta.25

6 months ago

1.3.0-beta.26

6 months ago

1.3.0-beta.20

6 months ago

1.2.2

7 months ago

1.3.0-beta.17

8 months ago

1.3.0-beta.18

8 months ago

1.3.0-beta.19

8 months ago

1.3.0-beta.16

11 months ago

1.3.0-beta.12

11 months ago

1.3.0-beta.13

11 months ago

1.3.0-beta.14

11 months ago

1.3.0-beta.15

11 months ago

1.3.0-beta.11

1 year ago

1.3.0-beta.10

1 year ago

1.2.1

1 year ago

1.3.0-alpha.6

1 year ago

1.3.0-beta.9

1 year ago

1.2.0

2 years ago

1.2.0-beta.1

2 years ago

1.1.5

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.0

2 years ago

1.0.0-beta.3

2 years ago

1.0.0-beta.2

2 years ago

1.0.0-beta.1

2 years ago

1.0.0-alpha.2

2 years ago

1.0.1-beta.8

2 years ago

1.0.1-beta.7

2 years ago

1.0.1-beta.6

2 years ago

1.0.1-beta.5

2 years ago

1.0.1-beta.4

2 years ago

1.0.1-beta.3

2 years ago

1.0.1-beta.2

2 years ago

1.0.1-beta.1

2 years ago

1.0.0

2 years ago

0.0.1

2 years ago