1.0.4 • Published 4 months ago

@apathoid/eslint-config v1.0.4

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

eslint-config

Configuration files for eslint.

How to install

npm i -D @apathoid/eslint-config

How to use

The package provides config files for two module systems: cjs and esm.

For cjs fill eslint.config.js with this:

const apathyConfig = require('@apathoid/eslint-config').default;

module.exports = [
    ...apathyConfig,
    ...
];

For esm it is necessary to add type: module to project's package.json file. Then add this to eslint.config.js:

import apathyConfig from '@apathoid/eslint-config';

export default [
    ...apathyConfig,
    ...
];
1.0.2

4 months ago

1.0.4

4 months ago

1.0.3

4 months ago

1.0.1

9 months ago

1.0.0

9 months ago