@mtripg6666tdr/eslint-config v3.0.16
Note: this package is mainly for my own use, but it might be useful if you use as needed
@mtripg6666tdr/eslint-config
Sharable eslint config, mainly for my own use.
Installation
npm i eslint @mtripg6666tdr/eslint-config --save-dev
If you use @mtripg6666tdr/eslint-config/nextjs-typescript
, then you also have to install eslint-config-next
.
npm i eslint @mtripg6666tdr/eslint-config eslint-config-next --save-dev
Configurations
@mtripg6666tdr/eslint-config/base
Base config for plain JavaScript.
- Hierarchy:
base
@mtripg6666tdr/eslint-config/nodejs
Config for plain JavaScript on Node.js
- Hierarchy:
base
->nodejs
@mtripg6666tdr/eslint-config/browser
Config for plain JavaScript that will be bundled and running on browser.
- Hierarchy:
base
->browser
@mtripg6666tdr/eslint-config/typescript
Base config for TypeScript transpiled and running on Node.js
- Hierarchy:
base
->typescript
@mtripg6666tdr/eslint-config/nodejs-typescript
Config for Typescript on Node.js
- Hierarchy:
base
->typescript
->nodejs-typescript
@mtripg6666tdr/eslint-config/browser-typescript
Config for TypeScript transpiled and running on Browser
- Hierarchy:
base
->typescript
->browser-typescript
@mtripg6666tdr/eslint-config/react-typescript
Config for TypeScript with React JSX (TSX) support.
- Hierarchy:
base
->typescript
->browser-typescript
->react-typescript
@mtripg6666tdr/eslint-config/nextjs-typescript
Config for TypeScript with React JSX (TSX) on Next.js framework support.
- Hierarchy:
next
+typescript
(merging only rules configuration) ->nextjs-typescript
Quick Guide
JavaScript | TypeScript | |
---|---|---|
Node.js | nodejs | nodejs-typescript |
Browser | browser | browser-typescript |
React | - | react-typescript |
Next.js | - | nextjs-typescript |
License
2 months ago
2 months ago
3 months ago
4 months ago
4 months ago
5 months ago
5 months ago
10 months ago
10 months ago
10 months ago
9 months ago
9 months ago
8 months ago
9 months ago
6 months ago
10 months ago
10 months ago
7 months ago
7 months ago
7 months ago
8 months ago
6 months ago
6 months ago
7 months ago
7 months ago
8 months ago
10 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago
12 months ago