Skip to content

ESLint rules that follow my style guide

License

Notifications You must be signed in to change notification settings

343dev/eslint-config

Repository files navigation

@343dev/eslint-config

npm

ESLint rules that follow my style guide.

Installation

npm install --save-dev eslint globals @343dev/eslint-config

Usage

Include into a project config using flag --config, and pass paths for files as arguments:

eslint -c ./node_modules/@343dev/eslint-config/eslint.config.js ./src

Also you can create your own eslint.config.js and extend this config there:

import config from '@343dev/eslint-config';
import globals from 'globals';

export default [
	...config,

	{
		languageOptions: {
			globals: globals.jest,
		},
	},
];

Read more about eslint.config.js in ESLint docs.

About

ESLint rules that follow my style guide

Resources

License

Stars

Watchers

Forks