mirror of
https://github.com/mmvanheusden/SteamDepotDownloaderGUI.git
synced 2026-02-03 21:21:19 +01:00
26 lines
649 B
JavaScript
26 lines
649 B
JavaScript
// @ts-check
|
|
|
|
import eslint from '@eslint/js';
|
|
import {defineConfig} from 'eslint/config';
|
|
import tseslint from 'typescript-eslint';
|
|
|
|
export default defineConfig(
|
|
eslint.configs.recommended,
|
|
tseslint.configs.stylisticTypeChecked,
|
|
{
|
|
languageOptions: {
|
|
parserOptions: {
|
|
project: 'tsconfig.json',
|
|
},
|
|
},
|
|
},
|
|
{
|
|
files: ["src/**"],
|
|
rules: {
|
|
"semi": ["error", "always"], // semicolons
|
|
"indent": ["error", "tab"], // tabs indents
|
|
"linebreak-style": ["error", "unix"],
|
|
"quotes": ["error", "double"],
|
|
},
|
|
},
|
|
); |