- Détection WiFi 4 (HT), 5 (VHT), 6 (HE), 7 (EHT) via parsing iw - Infos NetworkManager : SSID, signal, débit, sécurité, bande/canal - Popup avec sections : connexion, performance, signal/sécurité - Couleurs par génération dans la barre (gris/bleu/vert/violet) - 23 tests unitaires pour le parsing iw et la détection de génération - Environnement Nix avec flake.nix, TypeScript, ESLint, Vitest
24 lines
721 B
JavaScript
24 lines
721 B
JavaScript
import eslint from '@eslint/js';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default tseslint.config(
|
|
eslint.configs.recommended,
|
|
...tseslint.configs.strict,
|
|
...tseslint.configs.stylistic,
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
projectService: true,
|
|
tsconfigRootDir: import.meta.dirname,
|
|
},
|
|
},
|
|
rules: {
|
|
'@typescript-eslint/no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
'@typescript-eslint/no-non-null-assertion': 'warn',
|
|
},
|
|
},
|
|
{
|
|
ignores: ['dist/', 'node_modules/', '*.config.js'],
|
|
}
|
|
);
|