@duplojs/eslint
v0.3.0
Published
[![NPM version](https://img.shields.io/npm/v/@duplojs/eslint)](https://www.npmjs.com/package/@duplojs/eslint)
Downloads
357
Readme
@duplojs/eslint
Default eslint rules for duplojs
.
Installation
npm i @duplojs/eslint --save-dev
Usage
In file eslint.config.js
:
import { duplojsEslintBase, duplojsEslintTest } from "@duplojs/eslint";
export default [
{
...duplojsEslintTest,
files: ["**/*.test.{ts,js}"],
},
{
...duplojsEslintBase,
files: ["**/*.{ts,js}"],
ignores: ["**/*.test.{ts,js}"],
},
];