eslint-config-hexo

6.0.0 • Public • Published

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

/eslint-config-hexo/

    Package Sidebar

    Install

    npm i eslint-config-hexo

    Homepage

    hexo.io/

    Weekly Downloads

    1,843

    Version

    6.0.0

    License

    MIT

    Unpacked Size

    8.29 kB

    Total Files

    7

    Last publish

    Collaborators

    • ertrzyiks
    • abnerchou
    • tommy351
    • hexobot
    • jlhwung
    • tomap
    • curben
    • yoshinorin