0.16.0 • Published 8 months ago
@comandeer/eslint-config v0.16.0
@comandeer/eslint-config
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.
0.16.0
8 months ago
0.14.0
11 months ago
0.15.0
10 months ago
0.13.1
1 year ago
0.13.0
1 year ago
0.12.0
1 year ago
0.11.0
2 years ago
0.11.1
2 years ago
0.10.0
2 years ago
0.9.0
3 years ago
0.8.0
3 years ago
0.7.0
3 years ago
0.6.0
3 years ago
0.5.0
4 years ago
0.4.0
4 years ago
0.3.0
4 years ago
0.2.2
6 years ago
0.2.1
6 years ago
0.2.0
6 years ago
0.1.0
7 years ago