eslint-plugin-jimdo-maverick

ESLint plugin for Jimdo Maverick apps

Usage no npm install needed!

<script type="module">
  import eslintPluginJimdoMaverick from 'https://cdn.skypack.dev/eslint-plugin-jimdo-maverick';
</script>

README

eslint-plugin-jimdo-maverick

ESLint plugin for Jimdo Maverick apps

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-jimdo-maverick:

npm install eslint-plugin-jimdo-maverick --save-dev

Usage

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

{
  "plugins": ["jimdo-maverick"]
}

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

{
  "rules": {
    "jimdo-maverick/rule-name": 2
  }
}

Supported Rules

  • namespaces
    Verify that the namespace definitions for useAppTranslation and withMaverickServerSideProps or withMaverickStaticProps match.