@excalidraw/eslint-config
v1.0.3
Published
Excalidraw's ESLint config
Downloads
6,275
Readme
@excalidraw/eslint-config
Excalidraw's ESLint config.
Usage for CRA
Install (macOS, Linux)
yarn add --dev @excalidraw/eslint-config \
eslint-config-prettier \
eslint-plugin-prettier \
prettier
Install (Windows)
yarn add --dev @excalidraw/eslint-config ^
eslint-config-prettier ^
eslint-plugin-prettier ^
prettier
Usage for non-CRA
Install (macOS, Linux)
yarn add --dev @excalidraw/eslint-config \
@typescript-eslint/parser \
@typescript-eslint/eslint-plugin \
eslint-config-prettier \
eslint-plugin-prettier \
eslint \
prettier
Install (Windows)
yarn add --dev @excalidraw/eslint-config ^
@typescript-eslint/parser ^
@typescript-eslint/eslint-plugin ^
eslint-config-prettier ^
eslint-plugin-prettier ^
eslint ^
prettier
Edit .eslintrc.json
{
// ...
"extends": "@excalidraw/eslint-config"
}