0.0.2 • Published 3 years ago

tseslint v0.0.2

Weekly downloads
6
License
MIT
Repository
github
Last release
3 years ago

eslint-config-parts

ESLint configuration extending Prettier, Airbnb, React, and Typescript (also import resolvers) 🤠

Installation

This packages does not ship with dependencies, so you can use install-peerdeps to install all the peer dependencies required.

# using npm
npx install-peerdeps --dev eslint-config-parts

# using yarn
npx install-peerdeps --dev --yarn eslint-config-parts

Usage

Extend the config and add your own rules and settings. This package only adds settings for the import extensions/parsers/resolver (see config).

// .eslintrc.js
module.exports = {
  extends: ["eslint-config-parts"],
  parserOptions: {
    project: "./tsconfig.json",
  },
  rules: {
    // your custom rules
  },
  settings: {
    // your custom settings
  },
};

References

License

MIT License, Copyright (c) 2020 ETC Digital