@comandeer/eslint-config

0.13.1 • Public • Published

@comandeer/eslint-config

Build Status npm (scoped)

Super opinionated ESLint configuration.

Installation

npm install @comandeer/eslint-config --save-dev

Usage

Put it inside your eslint.config.js file:

import eslintConfig from '@comandeer/eslint-config';

export default eslintConfig();

Optionally, you could also include formatting rules:

import eslintConfig from '@comandeer/eslint-config';
import formattingConfig from '@comandeer/eslint-config/formatting';

export default [
	...eslintConfig(),
	...formattingConfig()
];

Options

Both exports accepts the same set of options as an options object:

eslintConfig( {
    tsProject: [ './packages/*/tsconfig.json' ]
} );

Available options

Name Value type Default value Description
tsProject Array<string> [ './tsconfig.json' ] Paths to all TS config files in the project that should be used for linting.

License

See LICENSE file for details.

Dependencies (10)

Dev Dependencies (9)

Package Sidebar

Install

npm i @comandeer/eslint-config

Weekly Downloads

55

Version

0.13.1

License

MIT

Unpacked Size

46 kB

Total Files

7

Last publish

Collaborators

  • comandeer