eslint-config-aether
v3.0.0
Published
A custom code style for ESLint.
Maintainers
Readme
Eslint Config Aether
A custom code style for ESLint.
Preview
const btn = document.getElementById("btn");
let count = 0;
function render() {
btn.innerText = `Count: ${count}`;
}
btn.addEventListener("click", () => {
// Count from 1 to 10.
if(count < 10) {
count += 1;
render();
}
});Installation
npm install eslint-config-aetherUsage
eslint.config.js
// Minimal config
import aether from "eslint-config-aether";
export default aether;// Custom config
import { defineConfig } from "eslint/config";
import aether from "eslint-config-aether";
export default defineConfig([
{
files: ["**/*.js", "**/*.ts"],
extends: [aether],
// anything from here will override the base config
rules: {
"@stylistic/padded-blocks": "off"
}
}
]);