3.0.0 • Published 15 days ago

@redmindab/eslint-config v3.0.0

Weekly downloads
176
License
ISC
Repository
-
Last release
15 days ago

@redmindab/eslint-config

Redmind's internal TypeScript eslint configuration.

📦 Install package and peer dependencies

npm i -D @redmindab/eslint-config && npx install-peerdeps -D @redmindab/eslint-config

🔧 Create config files

create .eslintrc in the root of the project with the following content

{
  "extends": ["@redmindab/eslint-config"],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

You can also choose to extend only specific configurations:

{
  "extends": [
    "@redmindab/eslint-config/typescript",
    "@redmindab/eslint-config/react",
    "@redmindab/eslint-config/backend"
  ],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

💅 Stylistic formatting w. Prettier

Create a .prettierrc in the root of the project with the following content

Update all files in src directory

npx prettier --write src/**/*.{ts,tsx}
npx eslint --fix src/**/*.{ts,tsx}
3.0.0

15 days ago

2.1.0

2 months ago

2.0.0

2 months ago

1.8.2

2 months ago

1.8.1

2 months ago

1.8.0

2 months ago

1.7.0

2 months ago

1.6.4

5 months ago

1.5.5

5 months ago

1.6.3

5 months ago

1.5.4

5 months ago

1.6.2

5 months ago

1.5.3

5 months ago

1.6.1

5 months ago

1.6.0

5 months ago

1.6.5

5 months ago

1.5.2

3 years ago

1.5.1

3 years ago

1.5.0

3 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.0

4 years ago

1.2.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago