Jessie-specific ESLint plugin
npm install @jessie.js/eslint-pluginJessie-specific plugin
You'll first need to install ESLint:
```
$ npm i eslint --save-dev
Next, install @jessie.js/eslint-plugin:
``
$ npm install @jessie.js/eslint-plugin --save-dev
Note: If you installed ESLint globally (using the -g flag) then you must also install @jessie.js/eslint-plugin globally.
1. Add @jessie.js to the plugins section of your .eslint.config.js configuration file,'@jessie.js/recommended'
2. extend your config from , and'@jessie.js/use-jessie
3. add the processor
As an example:
`js
// eslint.config.js
import { defineConfig } from 'eslint/config';
import jessie from '@jessie.js/eslint-plugin';
export default defineConfig([
{
files: ['.js', '/.js'],
plugins: {
'@jessie.js': jessie,
},
extends: ['@jessie.js/recommended'],
processor: '@jessie.js/use-jessie',
},
]);
``