transcribel_lint

1.0.4 • Public • Published

The official Commission on Peace Officer Standards and Training linting package.

Install

$ npm install @typescript-eslint/parser -D
$ npm install transcribal_lint -D

Recommended .eslintrc.json

{
    "root": true,
    "parser": "@typescript-eslint/parser",
    "parserOptions": {
        "project": "./tsconfig.json"
    },
    "env": {
        "browser": true,
        "es2021": true
    },
    "extends": [
        // You do not need the other "recommended" sets they are included in the POST rules
        "transcribal_lint"
    ],
    "rules": {
    }
}

Peer Dependencies

Package Version
@typescript-eslint/eslint-plugin >=6.2.1
@typescript-eslint/parser >=6.2.1
eslint >=8.46.0
typescript >=5.1.6

Workspace Setup

Suggested VS Code Extensions

Name Description 🔵
ESLint Integrates ESLint into VS Code. The extension uses the ESLint library installed in the opened workspace folder ES-Lint Logo
LintLens - ESLint rules made easier Augment your ESLint rules in Visual Studio Code by Adding metadata and usage information beside each ESLint rule. LinLens Logo

VS Code setting.json (fix on save)

  • If you have format on save in VS Code you may need to disable it, because mine started fighting.
// (file->preferences->settings [switch to json view])
"eslint.validate": [
    "javascript",
    "javascriptreact",
    "typescript",
    "typescriptreact",
  ],
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true,
  }

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i transcribel_lint

    Homepage

    todo

    Weekly Downloads

    8

    Version

    1.0.4

    License

    UNLICENSED

    Unpacked Size

    34.5 kB

    Total Files

    4

    Last publish

    Collaborators

    • ryanwbell