0.2.3 • Published 2 years ago
@shimman-dev/eslint-config v0.2.3
eslint config
Config used for shimman-dev
projects.
Designed to work with React, Vitest, TypeScript, and ECMAScript.
Install
Installation does require eslint
and @typescript-eslint/parser
:
npm install -D @shimman-dev/eslint-config@latest \
eslint \
@typescript-eslint/parser
yarn add --dev @shimman-dev/eslint-config@latest \
eslint \
@typescript-eslint/parser
pnpm add --save-dev @shimman-dev/eslint-config@latest \
eslint \
@typescript-eslint/parser
Usage
Several configs include base
, react
, typescript
, and test
.
Example of usage for a react
project using an .eslintrc.cjs
config:
module.exports = {
env: {
browser: true,
},
settings: {
react: {
version: "18",
},
},
parserOptions: {}, // define your `tsconfigRootDir` and `projects` as needed
extends: [
"@shimman-dev/eslint-config/react",
"@shimman-dev/eslint-config/test",
],
parser: "@typescript-eslint/parser",
root: true,
};
List of Plugins used
@typescript-eslint/eslint-plugin
eslint-config-airbnb
eslint-config-airbnb-base
eslint-config-airbnb-typescript
eslint-config-prettier
eslint-plugin-html
eslint-plugin-import
eslint-plugin-jsdoc
eslint-plugin-jsx-a11y
eslint-plugin-promise
eslint-plugin-react
eslint-plugin-react-hooks
eslint-plugin-sonarjs
eslint-plugin-testing-library
eslint-plugin-unicorn
eslint-plugin-vitest
Todos
- create portable config
- explain reasoning for each plugin
0.1.11
2 years ago
0.1.12
2 years ago
0.1.13
2 years ago
0.1.0
2 years ago
0.2.1
2 years ago
0.2.0
2 years ago
0.1.1
2 years ago
0.2.3
2 years ago
0.2.2
2 years ago
0.0.96
2 years ago
0.0.95
2 years ago
0.0.92
2 years ago
0.0.91
2 years ago
0.0.90
2 years ago
0.0.89
2 years ago
0.0.87
2 years ago
0.0.86
2 years ago
0.0.85
2 years ago
0.0.81
2 years ago
0.0.79
2 years ago
0.0.78
2 years ago
0.0.77
2 years ago
0.0.75
2 years ago
0.0.73
2 years ago
0.0.72
2 years ago
0.0.65
2 years ago
0.0.63
2 years ago
0.0.62
2 years ago
0.0.61
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.2
2 years ago
0.0.1
2 years ago