@patricktabar/eslint-config-base
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

ESlint Base Configuration

Installation

You can install this ESLint configuration using npm:

npm install @patricktabar/eslint-config-base --save-dev

Using this Shareable Configuration

To use a shareable config, import the package inside of an eslint.config.js file and add it into the exported array, like this:

// eslint.config.js

import configBase from '@patricktabar/eslint-config-base';

export default [...configBase];

Overriding Settings from this Shareable Configuration

You can override settings from the shareable config by adding them directly into your eslint.config.js file after importing the shareable config. For example:

// eslint.config.js

import configBase from '@patricktabar/eslint-config-base';

export default [
  ...configBase,

  rules: {
     semi: [2, "always"]
  }
];

ESlint

Package Sidebar

Install

npm i @patricktabar/eslint-config-base

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

25.4 kB

Total Files

10

Last publish

Collaborators

  • patricktabar