Skip to content

openstf/eslint-config-stf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Warning

This project along with other ones in OpenSTF organisation is provided as is for community, without active development.

You can check any other forks that may be actively developed and offer new/different features here.

Active development has been moved to DeviceFarmer organisation.

STF - ESLint Shareable Config

An ESLint Shareable Config for STF

WIP

This module is for advanced users.

js-standard-style

Install

npm install eslint-config-stf

Usage

Shareable configs are designed to work with the extends feature of .eslintrc files. You can learn more about Shareable Configs on the official ESLint website.

To use the JavaScript Standard Style shareable config, first run this:

npm install eslint-config-stf eslint-plugin-stf

Then, add this to your .eslintrc file:

{
  "extends": "stf"
}

Note: We omitted the eslint-config- prefix since it is automatically assumed by ESLint.

You can override settings from the shareable config by adding them directly into your .eslintrc file.

Releases

No releases published

Packages

No packages published