@bothrs/eslint-config-next

2.0.15 • Public • Published

Bothrs: ESLint configuration for NextJS

A very opinionated ESLint configuration for NextJS used at Bothrs.

Usage

Install the package as a devDependency.

# NPM
npm i @bothrs/eslint-config-next -D

# Yarn
yarn add @bothrs/eslint-config-next -D

Add the package to the extends-section of your eslint configuration.

Example .eslintrc.js file:

// .eslintrc.js

module.exports = {
  type: "module",
  env: {
    es6: true,
    node: true,
  },
  extends: [
    '@bothrs/eslint-config-next',
  ],
}

Plugins

Package Sidebar

Install

npm i @bothrs/eslint-config-next

Weekly Downloads

80

Version

2.0.15

License

MIT

Unpacked Size

3.51 kB

Total Files

4

Last publish

Collaborators

  • bothrsdev
  • bramvanhoutte
  • jaccog