1.0.1 • Published 1 year ago

eslint-config-manifest v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

eslint-config-manifest

ESLint configurations for Manifest Design System.

build status npm version npm license

Installation

yarn add --dev eslint-config-manifest

Usage

Extend the manifest config in your root .eslintrc.js.

module.exports = {
  root: true,
  extends: ['manifest'],
};

If you are working on a React project, extend the manifest/react config.

module.exports = {
  root: true,
  extends: ['manifest', 'manifest/react'],
};

If your project is using typescript, you must specify the path to your tsconfig.json.

module.exports = {
  root: true,
  extends: ['manifest'],
  parserOptions: {
    project: 'tsconfig.json',
  },
};