Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

eslint-config-hexo

hexojs10.8kMIT6.0.0

ESLint config for Hexo projects

hexo, eslint-config

readme

eslint-config-hexo

npm version

ESLint config for Hexo projects

Installation

$ npm install eslint-config-hexo --save-dev

Usage

In eslint.config.js

const hexoTsLintConfig = require('eslint-config-hexo/ts');

module.exports = [
  ...hexoTsLintConfig,
  {
    languageOptions: {
      ecmaVersion: 2020,
    },
    rules: {
      "@typescript-eslint/no-explicit-any": 0,
      "@typescript-eslint/ban-ts-comment": 0,
      "@typescript-eslint/no-this-alias": 0
    }
  }
];

License

MIT