Skip to content

Commit 066d3f7

Browse files
committed
chore: sync with microG unofficial installer
Signed-off-by: ale5000 <15793015+ale5000-git@users.noreply.github.com>
1 parent e869d8a commit 066d3f7

File tree

2 files changed

+38
-9
lines changed

2 files changed

+38
-9
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ desktop.ini
2525
*.log
2626
*.sarif
2727

28+
/.gitconfig
29+
2830
# VS Code files
2931
/.vscode/launch.json
3032

@@ -49,7 +51,10 @@ user.gradle
4951
/build
5052
/cmdline
5153

54+
# Generated by docs/conf.py
5255
/docs/_build/
56+
/docs/scripts/
57+
/docs/devel/
5358

5459
# Custom project folders
5560
/cache/

eslint.config.mjs

Lines changed: 33 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,37 @@
22
// SPDX-License-Identifier: GPL-3.0-or-later
33

44
/* jshint esversion: 6 */
5-
import {
6-
defineConfig
7-
}
8-
from 'eslint/config';
5+
import js from '@eslint/js';
6+
import json from '@eslint/json';
7+
import markdown from '@eslint/markdown';
8+
import globals from 'globals';
9+
import { defineConfig } from 'eslint/config';
910

10-
export default defineConfig([{
11-
languageOptions: {
12-
ecmaVersion: 2022
13-
}
14-
}]);
11+
export default defineConfig([
12+
{
13+
files: ['**/*.{js,mjs,cjs}'],
14+
plugins: { js },
15+
extends: ['js/recommended'],
16+
languageOptions: {
17+
globals: globals.node,
18+
ecmaVersion: 2022,
19+
sourceType: 'module',
20+
},
21+
rules: {
22+
'no-unused-vars': 'warn',
23+
semi: ['error', 'always'],
24+
},
25+
},
26+
{
27+
files: ['**/*.json'],
28+
plugins: { json },
29+
language: 'json/json',
30+
extends: ['json/recommended'],
31+
},
32+
{
33+
files: ['**/*.md'],
34+
plugins: { markdown },
35+
language: 'markdown/gfm',
36+
extends: ['markdown/recommended'],
37+
},
38+
]);

0 commit comments

Comments
 (0)