1.0.4 • Published 4 months ago

@shgysk8zer0/eslint-config v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
4 months ago

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 }
];
1.0.4

4 months ago

1.0.3

8 months ago

1.0.1

10 months ago

1.0.0

11 months ago