@excalidraw/eslint-config

Excalidraw's ESLint config

Usage no npm install needed!

<script type="module">
  import excalidrawEslintConfig from 'https://cdn.skypack.dev/@excalidraw/eslint-config';
</script>

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"
}