Skip to content

Commit a538053

Browse files
author
Vliegenier04
committed
Fix(lint): Ran prettier and lint, fixed unused vars
1 parent 51609e4 commit a538053

File tree

130 files changed

+8212
-7301
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+8212
-7301
lines changed

.eslintrc.json

Lines changed: 29 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,29 @@
1-
{
2-
"parser": "@typescript-eslint/parser",
3-
"parserOptions": {
4-
"ecmaVersion": 2020,
5-
"sourceType": "module",
6-
"project": ["./tsconfig.json", "./extensions/*/tsconfig.json"]
7-
},
8-
"plugins": ["@typescript-eslint"],
9-
"extends": [
10-
"eslint:recommended",
11-
"plugin:@typescript-eslint/recommended"
12-
],
13-
"env": {
14-
"node": true,
15-
"es2020": true
16-
},
17-
"rules": {
18-
"@typescript-eslint/no-explicit-any": "off",
19-
"@typescript-eslint/no-unused-vars": [
20-
"warn",
21-
{
22-
"argsIgnorePattern": "^_",
23-
"varsIgnorePattern": "^_",
24-
"destructuredArrayIgnorePattern": "^_",
25-
"ignoreRestSiblings": true
26-
}
27-
],
28-
"@typescript-eslint/no-var-requires": "off",
29-
"no-console": "off"
30-
},
31-
"ignorePatterns": ["dist", "pnpm-lock.yaml", "node_modules", "*.js"]
32-
}
1+
{
2+
"parser": "@typescript-eslint/parser",
3+
"parserOptions": {
4+
"ecmaVersion": 2020,
5+
"sourceType": "module",
6+
"project": ["./tsconfig.json", "./extensions/*/tsconfig.json"]
7+
},
8+
"plugins": ["@typescript-eslint"],
9+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
10+
"env": {
11+
"node": true,
12+
"es2020": true
13+
},
14+
"rules": {
15+
"@typescript-eslint/no-explicit-any": "off",
16+
"@typescript-eslint/no-unused-vars": [
17+
"warn",
18+
{
19+
"argsIgnorePattern": "^_",
20+
"varsIgnorePattern": "^_",
21+
"destructuredArrayIgnorePattern": "^_",
22+
"ignoreRestSiblings": true
23+
}
24+
],
25+
"@typescript-eslint/no-var-requires": "off",
26+
"no-console": "off"
27+
},
28+
"ignorePatterns": ["dist", "pnpm-lock.yaml", "node_modules", "*.js"]
29+
}

.prettierignore

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,18 @@
1+
# Build outputs
12
dist
3+
*.tsbuildinfo
4+
5+
# Lock files
26
pnpm-lock.yaml
7+
package-lock.json
8+
yarn.lock
9+
10+
# Dependencies
11+
node_modules
12+
13+
# Data files
14+
data/
15+
16+
# Logs
17+
*.log
18+
npm-debug.log*

.prettierrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
module.exports = require('@jejebecarte/eslint-config/prettier');
1+
module.exports = require('@jejebecarte/eslint-config/prettier');

.prettierrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"semi": true,
3+
"trailingComma": "es5",
4+
"singleQuote": true,
5+
"printWidth": 100,
6+
"tabWidth": 4,
7+
"useTabs": false,
8+
"arrowParens": "always",
9+
"endOfLine": "lf"
10+
}

0 commit comments

Comments
 (0)