@egs33/eslint-config

3.0.3 • Public • Published

@egs33/eslint-config

eslint-config for me.

Install

Add following to .npmrc in same dir of package.json.

@egs33:registry=https://npm.pkg.github.com
$ yarn add -D eslint @egs33/eslint-config

Usage

for node.js

import node from '@egs33/eslint-config/nodejs.js';

export default [
  ...node,
];

for browser

import browser from '@egs33/eslint-config/browser.js';

export default [
  ...browser,
];

for node.js (typescript)

$ yarn add -D typescript-eslint
import tsNode from '@egs33/eslint-config/typescript-node.js';
import { applyConfig } from '@egs33/eslint-config/util.js';

export default [
  ...applyConfig({ files: ['**/*.ts'] }, tsNode),
];

Readme

Keywords

Package Sidebar

Install

npm i @egs33/eslint-config

Weekly Downloads

1

Version

3.0.3

License

MIT

Unpacked Size

71.3 kB

Total Files

18

Last publish

Collaborators

  • egs33