eslint-plugin-evernote

raw JSON →
1.0.0 verified Sat Apr 25 auth: no javascript deprecated

An ESLint plugin containing custom lint rules developed by Evernote. Version 1.0.0, with no clear release cadence or recent updates. This is an internal plugin that may not be maintained for external use; no known differentiators from community alternatives like eslint-plugin-import or eslint-plugin-react.

error Error: Failed to load plugin 'evernote': Cannot find module 'eslint-plugin-evernote'
cause Package not installed in node_modules or incorrect package name.
fix
Run 'npm install eslint-plugin-evernote' and ensure it is listed in package.json.
error ESLint couldn't find the config 'evernote' after trying to load it from the plugin 'eslint-plugin-evernote'
cause Configuration file attempts to extend a config that doesn't exist in the plugin.
fix
Use only rules from the plugin; do not extend from 'evernote' config unless it is defined. Check plugin's configs export.
error Error: Rule 'evernote/no-undefined' has invalid severity (should be 0, 1, or 2)
cause Severity set to a string or invalid number in ESLint config.
fix
Use numeric severity: 'evernote/no-undefined': 'error' or ['error'] or [2].
deprecated This package is no longer actively maintained by Evernote. It may have unpatched vulnerabilities or be incompatible with newer ESLint versions.
fix Consider migrating to ESLint's built-in rules or community-maintained plugins.
breaking Requires ESLint version < 9.0.0 due to legacy rule format changes in ESLint 9.
fix Use ESLint 8.x or lower, or rewrite rules to new format.
gotcha Rules are not documented; code inspection or trial and error required to understand rule behavior.
fix Refer to the source code at https://github.com/evernote/eslint-plugin-evernote.
gotcha No TypeScript type definitions are provided. Using with TypeScript may require type annotations or skipLibCheck.
fix Add // @ts-ignore or use a .d.ts file to suppress errors.
npm install eslint-plugin-evernote
yarn add eslint-plugin-evernote
pnpm add eslint-plugin-evernote

Configures ESLint to use the evernote plugin and enables one of its custom rules.

// .eslintrc.js
module.exports = {
  plugins: ['evernote'],
  rules: {
    'evernote/no-undefined': 'error'
  }
}