Skip to content

Latest commit

 

History

History
51 lines (35 loc) · 758 Bytes

README.md

File metadata and controls

51 lines (35 loc) · 758 Bytes

eslint-plugin-quizizz

ESLint plugin for Quizizz projects

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-quizizz:

npm i https://github.com/quizizz/eslint-plugin-quizizz --save-dev

Usage

Add quizizz to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "quizizz"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "quizizz/rule-name": 'warn' || 'error'
    }
}

Supported Rules

  • no-i18n-template-literals
  • no-i18n-vars
  • no-nuxt-link
  • no-router

Planned

  • no-window-navigation