eslint-config-skylight

0.5.0 • Public • Published

eslint-config-skylight

This package provides an extensible shared config for eslintrc.

Installation

# npm
npm i -D eslint-config-skylight

# yarn
yarn add -D eslint-config-skylight

Configuration

skylight

This entry point enables the linting rules for react.

skylight/base

This entry point enables the linting rules for node.

skylight/prettier

This entry point enables the linting rules for prettier.

skylight/next

This entry point enables the linting rules for next.

skylight/storybook

This entry point enables the linting rules for storybook.

Usage

eslintrc.js

module.exports = {
  extends: [
    'skylight',
    'skylight/prettier',
    'skylight/next',
    'skylight/storybook',
  ],
  parserOptions: {
    project: 'tsconfig.json',
  },
};

Package Sidebar

Install

npm i eslint-config-skylight

Weekly Downloads

1

Version

0.5.0

License

MIT

Unpacked Size

6.29 kB

Total Files

8

Last publish

Collaborators

  • vsnm25