Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

ZooRoyal/rdss-eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@rdss/eslint-config

This ESLint Ruleset integrates all Javascript & Typescript related RDSS coding standard rules and can be used to run eslint on save, commit or manually.

How to integrate this config into your project

To enable this config and ruleset in your project do the following:

  1. Run npm install "https://github.com/ZooRoyal/rdss-eslint-config#main" --save-dev to install the config as a npm dependency.
  2. Create a .eslintrc.js in your project root.
  3. Extend the created ESLint config with this config in the extend block: extends: ['@rdss/eslint-config']

A minimal example of a working .eslintrc.js can look like the following:

/**
 * Eslint config.
 */

module.exports = {
    extends: ['@rdss/eslint-config'],
};

How to run ESLint with this config

To let run ESLint with this coding standard config applied you can use several ways. Please refer the documentation of eslint.

A common approach to check the code anyway is using npx:

npx eslint

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published