1.2.5 • Published 1 year ago

eslint-config-biased-ts v1.2.5

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

INTRODUCTION

eslint-config-biased-ts is a couple of heavily biased Eslint configuration files, made to both enforce my biased styling, and to help bootstrap my other projects.

WARNING

This package has been moved over to the biased-ts organization.

Source code can now be found on the biased-ts GitHub

INSTALLATION

  • Install both ESLint and eslint-config-biased-ts using your local package manager. EX: npm i eslint eslint-config-biased-ts

  • From there, create or modify your .eslintrc. (or whatever naming convention you use) to either extend ProperDoc or ProperTS

  • From there, you are done! If it does not work, restart your Eslint and or Typescript server.

EXAMPLES

Recommended:

{
    "root": true,
    "extends": [ "biased-eslint/ProperTSDoc", "biased-eslint/ProperTS" ],
    "parserOptions": {
        "project": "./tsconfig.json"
    },
    "ignorePatterns": ["**/dist/*"]
}

Typescript:

{
    "root": true,
    "extends": [ "biased-eslint/ProperTS" ],
    "parserOptions": {
        "project": "./tsconfig.json"
    },
    "ignorePatterns": ["**/dist/*"]
}

JSDoc:

{
    "root": true,
    "extends": [ "biased-eslint/JSDoc" ],
    "parserOptions": {
        "project": "./tsconfig.json"
    },
    "ignorePatterns": ["**/dist/*"]
}

TSDoc:

{
    "root": true,
    "extends": [ "biased-eslint/TSDoc" ],
    "parserOptions": {
        "project": "./tsconfig.json"
    },
    "ignorePatterns": ["**/dist/*"]
}