@shgysk8zer0/eslint-config
v1.0.3
Published
A shared ESLint config
Downloads
1,215
Readme
eslint-config
A shared ESLint config
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 }
];