@channel.io/eslint-config

2.0.7 • Public • Published

@channel.io/eslint-config

ESLint configuration for Channel.io web projects

Installation

npm

$ npm install --dev @channel.io/eslint-config

Yarn

$ yarn add --dev @channel.io/eslint-config

Supports

This config supports Next, Web(React), Node

  • @channel.io/eslint-config: the basic config for JavaScript projects for which there isn't a more specific config,
  • @channel.io/eslint-config/web: the config for code that runs in web browsers, with support for React and JSX,
  • @channel.io/eslint-config/node: the config for code that runs in Node.
  • @channel.io/eslint-config/next: the config for Next.js Project

For React Web

{
  "extends": "@channel.io/eslint-config/web"
}

For Node Projects

{
  "extends": "@channel.io/eslint-config/node"
}

For Next

{
  "extends": "@channel.io/eslint-config/next"
}

Code Formatting

From ESLint 8.53.0, formatting-related features are being deprecated gradually. It is assumed that you are using Prettier for formatting in conjunction with this configuration.

For the prettier config that Channel.io is using, please check @channel.io/prettier-config

Readme

Keywords

Package Sidebar

Install

npm i @channel.io/eslint-config

Weekly Downloads

280

Version

2.0.7

License

MIT

Unpacked Size

9.82 kB

Total Files

11

Last publish

Collaborators

  • sungik.dev
  • quino0627
  • zoyi
  • choichoigang
  • acehong1021