Simple ESLint configuration for Hive Solutions.
npm install --save-dev eslint eslint-config-hive
ESLint 9 uses the flat config format. Create an eslint.config.js file in your project root:
import hive from "eslint-config-hive";
export default [
...hive
];
import hive from "eslint-config-hive/vue";
export default [
...hive
];
import hive from "eslint-config-hive/prettier";
export default [
...hive
];
You can extend the configuration with your own rules:
import hive from "eslint-config-hive";
export default [
...hive,
{
rules: {
"no-console": "warn"
}
}
];
If you're upgrading from the previous version (v0.x) that used ESLint 8:
.eslintrc.js (or similar) to eslint.config.js extends: "hive" with the spread syntax ...hiveESLint Config Hive is currently licensed under the Apache License, Version 2.0.