3.0.2 • Published 10 months ago

@adfinis/eslint-config v3.0.2

Weekly downloads
-
License
LGPL-3.0-or-later
Repository
github
Last release
10 months ago

@adfinis/eslint-config

This package contains our internally used eslint config.

Usage

To install this package, simply run

pnpm add -D @adfinis/eslint-config \
            eslint \
            eslint-config-prettier \
            eslint-plugin-prettier \
            eslint-plugin-import

Then add the following to your eslint.config.mjs

import adfinisConfig from "@adfinis/eslint-config";

export default [
  ...adfinisConfig,
  {
    // Custom rules for your project
  },
];

Ember

If you are using it in an ember app or addon you can use the config for ember:

pnpm add -D @adfinis/eslint-config \
            @babel/eslint-parser \
            @babel/plugin-proposal-decorators \
            eslint \
            eslint-config-prettier \
            eslint-plugin-prettier \
            eslint-plugin-import \
            eslint-plugin-ember \
            eslint-plugin-n \
            eslint-plugin-qunit \
            prettier

For an app replace your eslint.config.mjs with this:

import adfinisEmberAppConfig from "@adfinis/eslint-config/ember-app";

export default [
  ...adfinisEmberAppConfig,
  {
    // Custom rules for your project
  },
];

Or for an addon replace your eslint.config.mjs with this:

import adfinisEmberAddonConfig from "@adfinis/eslint-config/ember-addon";

export default [
  ...adfinisEmberAddonConfig,
  {
    // Custom rules for your project
  },
];
3.0.2

10 months ago

3.0.1

11 months ago

3.0.0-beta.1

12 months ago

3.0.0-beta.3

12 months ago

3.0.0-beta.2

12 months ago

3.0.0

12 months ago

3.0.0-beta.4

12 months ago

2.1.1

2 years ago

2.1.0

2 years ago

2.0.0

3 years ago