1.0.0 • Published 1 year ago

@chadly/eslint-config v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Chad's ESLint Configuration

My configuration for the way I like to code.

Usage

You can install this package and all of its peer dependencies with install-peerdeps:

npx install-peerdeps --dev @chadly/eslint-config

You can then create a .eslintrc.js file with content similar to the following:

// see https://www.npmjs.com/package/@rushstack/eslint-patch
require('@rushstack/eslint-patch/modern-module-resolution');

module.exports = {
  extends: ['@chadly'],
  parserOptions: {
    project: 'tsconfig.json',
  },
};

Editor Integration

You should be able to use your favorite editor's (*cough* VS Code) ESLint to easily format your code on save or with the Format command.