https://github.com/hexojs/eslint-config-hexo
ESLint config for Hexo projects
https://github.com/hexojs/eslint-config-hexo
eslint eslint-config hexo
Last synced: 5 months ago
JSON representation
ESLint config for Hexo projects
- Host: GitHub
- URL: https://github.com/hexojs/eslint-config-hexo
- Owner: hexojs
- License: mit
- Created: 2015-12-01T13:26:58.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2026-01-01T02:52:40.000Z (6 months ago)
- Last Synced: 2026-01-05T19:22:02.397Z (6 months ago)
- Topics: eslint, eslint-config, hexo
- Language: JavaScript
- Homepage:
- Size: 61.5 KB
- Stars: 5
- Watchers: 11
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config-hexo
[](https://www.npmjs.com/package/eslint-config-hexo)
ESLint config for Hexo projects
## Installation
``` bash
$ npm install eslint-config-hexo --save-dev
```
## Usage
In `eslint.config.js`
``` 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