@shgysk8zer0/eslint-config

1.0.1 • Public • Published

eslint-config

A shared ESLint config

CodeQL Node CI Lint Code Base

GitHub license GitHub last commit GitHub release GitHub Sponsors

npm node-current npm bundle size gzipped npm

GitHub followers GitHub forks GitHub stars Twitter Follow

Donate using Liberapay


Purpose

This package is just to make configuring ESLint easier by providing preset configs for node & browser. It also automatically ignores files listed in .gitignore.

Example

import { node } from '@shgysk8zer0/eslint-config';

export default node();

Advanced example

import { rules } from '@shgyk8zer0/eslint-config/rules.js';
import { ignoreFile } from '@shgysk8zer0/eslint-config/ignoreFile.js';
import { languageOptions } from '@shgysk8zer0/eslint-config/languageOptions.js';

export default [
  ignoreFile,
  { rules, languageOptions }
];

Readme

Keywords

Package Sidebar

Install

npm i @shgysk8zer0/eslint-config

Weekly Downloads

389

Version

1.0.1

License

MIT

Unpacked Size

14.9 kB

Total Files

17

Last publish

Collaborators

  • shgysk8zer0