Skip to content

ESLint configuration to be shared across all Fractal repositories

License

Notifications You must be signed in to change notification settings

frctl/eslint-config-frctl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-frctl

ESLint configuration to be shared across all Fractal repositories.

NPM Version

Overview

This package is an ESLint shareable config which can be used in conjunction with an ESLint based plugin such as xo, in order to help maintain consistent styles across a codebase.

"xo": {
  "extends": "@frctl/eslint-config-frctl"
}

Installation

Installation is via npm.

npm i @frctl/eslint-config-frctl

Usage

To use with xo, first ensure the package has been installed (see above) and then pass the package name to the the extends option in package.json:

{
  "name": "repo-name",
  ...
  },
  "devDependencies": {
    "@frctl/eslint-config-frctl": "0.1.0"
  },
  "xo": {
    "extends": "@frctl/eslint-config-frctl"
  }
}

Requirements

Node: >= 6.0.0

About

ESLint configuration to be shared across all Fractal repositories

Resources

License

Stars

Watchers

Forks

Packages

No packages published