包详细信息

@dexaai/eslint-config

dexaai136MIT1.3.7

Dexa ESLint config

自述文件

Forked from @remix-run/eslint-config

Dexa ESlint config used for all projects.

Installation

First, install this package along with ESLint in your project. This package requires at least version 8.1 of ESLint

npm install -D eslint @dexaai/eslint-config

Then create a file named .eslintrc.js in the root of the project/package:

```js filename=.eslintrc.js module.exports = { extends: [ "@dexaai/eslint-config" ] };


For Node-only projects (no React/browser code), use the `node` config:

```js filename=.eslintrc.js
module.exports = {
  extends: [ "@dexaai/eslint-config/node" ]
};