GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - stackblitz/eslint-plugin: An ESLint plugin to enforce a consistent code styles across StackBlitz projects

BranchesTags
Open more actions menu

Latest commit

 

History

83 Commits
83 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
docs/rules
docs/rules
 
 
src
src
 
 
test
test
 
 
types
types
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
.prettierrc
.prettierrc
 
 
.tool-versions
.tool-versions
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
eslint.config.mjs
eslint.config.mjs
 
 
jest.config.js
jest.config.js
 
 
package.json
package.json
 
 
pnpm-lock.yaml
pnpm-lock.yaml
 
 
tsconfig.json
tsconfig.json
 
 
vitest.config.ts
vitest.config.ts
 
 

Repository files navigation

@blitz/eslint-plugin

An ESLint plugin to enforce a consistent code styles across StackBlitz projects

Installation

You'll first need to install ESLint:

$ yarn add -D eslint

Next, install @blitz/eslint-plugin:

$ yarn add -D @blitz/eslint-plugin

Note: If you installed ESLint globally (using the -g flag) then you must also install @blitz/eslint-plugin globally.

Usage

Add @blitz/eslint-plugin to the extends section of your .eslintrc.js or .eslintrc.json configuration file and and configure parser and parserOptions. For the plugin, you can omit the eslint-plugin-:

{
  "parser": "@typescript-eslint/parser",
  "parserOptions": {
    "ecmaVersion": 2019,
    "sourceType": "module",
    "ecmaFeatures": {
      "modules": true
    }
  },
  "extends": ["plugin:@blitz/recommended"]
}

Custom Rules

  • @blitz/block-scope-case
  • @blitz/catch-error-name
  • @blitz/comment-syntax
  • @blitz/lines-around-comment
  • @blitz/newline-before-return

About

An ESLint plugin to enforce a consistent code styles across StackBlitz projects

Resources

Readme
MIT license
Activity
Custom properties

Stars

10 stars

Watchers

8 watching

Forks

9 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.