@blwatkins/eslint-config Quickstart Guide
Table of Contents
System Requirements
- Node.js - Current version compatibility is specified in
package.jsonunder the engines field. - npm - Bundled with Node.js installation.
- Text editor or IDE of your choice - Visual Studio Code and WebStorm are two popular options for JavaScript and TypeScript development. For a pared down developer experience, you can use a text editor like Sublime Text.
Installation
npm install --save-dev @blwatkins/eslint-config
Configuration
In your project root, create a file named eslint.config.mjs.
Copy and paste the following code:
import { buildConfig } from '@blwatkins/eslint-config';
export default buildConfig();
Custom Configuration
This package does not support custom configuration options at this time. If you would like to use this package configuration as a starting point for your own ESLint config, you may browse the source code in my TypeScript Studio repository.
Linting
To lint your files, run the following command:
npx eslint .