eslint-config-skylight
v0.5.0
Published
eslint config by vsnm25
Downloads
6
Readme
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',
},
};