ESLint plugin for Quizizz projects
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
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'
}
}
- no-i18n-template-literals
- no-i18n-vars
- no-nuxt-link
- no-router
- no-window-navigation