2.25.1 • Published 10 months ago

@axross/eslint-config v2.25.1

Weekly downloads
-
License
-
Repository
-
Last release
10 months ago

@axross/eslint-config

A hand-crafted ESLint configuration set.

npm version license

Installation

As the minimal setup, you can install 📦 @axross/eslint-config along with ESLint:

npm i -D @axross/eslint-config eslint

And create/update eslint.config.cjs as the following:

/* global __dirname:readonly */

module.exports = [
  ...require("./src/config.cjs")({ tsconfigRootDir: __dirname }),
];

For further better setups, please see Recommended Setup section.

Supported Plugins

This config detects the installed plugins in your project and automatically opts in the respective configurations. Currently this config supports the following plugins:

Recommended Setup

React + Next.js

npm i -D \
  @axross/eslint-config \
  eslint \
  @eslint/js \
  typescript-eslint \
  eslint-plugin-unicorn \
  eslint-plugin-compat \
  eslint-plugin-import \
  eslint-plugin-perfectionist \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  eslint-plugin-jsx-a11y \
  eslint-plugin-next \
  eslint-plugin-jest \
  eslint-plugin-jest-dom \
  eslint-plugin-jest-formatting \
  eslint-plugin-testing-library \
  eslint-plugin-storybook

React Native + Expo

npm i -D \
  @axross/eslint-config \
  eslint \
  @eslint/js \
  typescript-eslint \
  eslint-plugin-unicorn \
  eslint-plugin-compat \
  eslint-plugin-import \
  eslint-plugin-perfectionist \
  eslint-plugin-react \
  eslint-plugin-react-hooks \
  eslint-plugin-jsx-a11y \
  @react-native/eslint-plugin

License

MIT

2.25.0

10 months ago

2.23.1

10 months ago

2.25.1

10 months ago

2.19.0

10 months ago

2.17.0

10 months ago

2.15.0

11 months ago

2.22.1

10 months ago

2.20.0

10 months ago

2.22.0

10 months ago

2.20.1

10 months ago

2.24.1

10 months ago

2.24.0

10 months ago

2.22.2

10 months ago

2.24.2

10 months ago

2.18.0

10 months ago

2.16.0

10 months ago

2.21.0

10 months ago

2.23.0

10 months ago

2.21.2

10 months ago

2.21.1

10 months ago

2.14.0

2 years ago

2.13.0

2 years ago

2.12.0

2 years ago

2.11.0

2 years ago

2.10.0

2 years ago

2.9.0

2 years ago

2.7.0

2 years ago

2.6.0

2 years ago

2.8.0

2 years ago

2.5.0

2 years ago

2.4.0

2 years ago

2.3.0

2 years ago

2.2.0

2 years ago

2.1.1

2 years ago

2.1.0

2 years ago

2.1.0-rc2

2 years ago

2.1.0-rc1

2 years ago

2.0.0

2 years ago

2.0.0-alpha-2

2 years ago

2.0.0-alpha-1

2 years ago

1.6.0

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.3.0-alpha-5

2 years ago

1.3.0-alpha-4

2 years ago

1.3.0-alpha-3

2 years ago

1.3.0-alpha-2

2 years ago

1.3.0-alpha1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.0.0

2 years ago

0.1.0

2 years ago

0.0.1

2 years ago