Skip to content

Latest commit

 

History

History
37 lines (27 loc) · 632 Bytes

README.md

File metadata and controls

37 lines (27 loc) · 632 Bytes

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