Strict, shareable config for Angular v20+ projects using ESLint shareable config.
To see the rules that this config uses, please read the config itself.
npm install --save-dev @typhoon41/eslint-config-angular
Once the @typhoon41/eslint-config-angular package is installed, you can use it by importing and specifying @typhoon41/eslint-config-angular in the root of your configuration through spread operator and combine it with your other plugins of your ESLint configuration.
import defaultConfiguration from "@typhoon41/eslint-config-angular";
import { defineConfig } from "eslint/config";
export default defineConfig([
...defaultConfiguration,
{
"files": ["src/**/*.ts"],
"rules": {
// Additional, per-project rules...
}
}
]);Apache-2 © Nikola Dragićević