1.0.1 • Published 2 years ago

@hashicorp/eslint-config-ember v1.0.1

Weekly downloads
-
License
Copyright HashiCo...
Repository
-
Last release
2 years ago

@hashicorp/eslint-config-ember

This is the eslint configuration for Ember.js used across HashiCorp codebases.

Installation

Install the package:

yarn add -D @hashicorp/eslint-config-ember

Usage

Basic usage

Create a .eslintrc.js file and extend the configuration provided by this package:

// .eslintrc.js
module.exports = {
  root: true,
  extends: '@hashicorp/eslint-config-ember',
};

This package also exports the following configurations:

  • @hashicorp/eslint-config-ember/test
  • @hashicorp/eslint-config-ember/typescript
  • @hashicorp/eslint-config-ember/test-typescript

Usage in Ember.js

You can use create-hashicorp-eslint-config-ember to automatically set up the correct configuration in your Ember.js app or addon.