ESLint plugin for Quizizz projects
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-quizizz:
npm i https://github.com/quizizz/eslint-plugin-quizizz --save-devAdd 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