eslint-config-faros

0.1.0 • Public • Published

ESLint Shareable Config

A shareable ESLint config for Faros AI.

Usage

Install this package as a dev dependency:

npm install --save-dev eslint-config-faros

As recommended by ESLint, this package declares its dependencies on ESLint and ESLint plugins as peer dependencies. You'll also need to install them as dev dependencies if you haven't already (see package.json).

Once installed, extend from it in your .eslintrc.js file:

{
  extends: 'faros'
}

An example of a complete .eslintrc.js that overrides a rule:

module.exports = {
  extends: 'faros',
  root: true,
  ignorePatterns: ['.eslintrc.js', '/lib/'],
  rules: {
    'max-len': ['error', {code: 100}],
  },
};

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-faros

Homepage

www.faros.ai

Weekly Downloads

46

Version

0.1.0

License

UNLICENSED

Unpacked Size

5.81 kB

Total Files

3

Last publish

Collaborators

  • tovbinm