Skip to content

Commit c69947c

Browse files
committed
Removed linting changes
1 parent 932d42b commit c69947c

File tree

5 files changed

+47
-45
lines changed

5 files changed

+47
-45
lines changed

.eslintignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
nodede_modules
2+
dist

.eslintrc.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{
2+
"env": {
3+
"commonjs": true,
4+
"es2021": true,
5+
"node": true
6+
},
7+
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
8+
"parser": "@typescript-eslint/parser",
9+
"parserOptions": {
10+
"ecmaVersion": 12,
11+
"warnOnUnsupportedTypeScriptVersion": false
12+
},
13+
"plugins": ["@typescript-eslint"],
14+
"rules": {
15+
"indent": ["off"],
16+
"@typescript-eslint/indent": ["error", 4, { "SwitchCase": 1 }],
17+
"linebreak-style": ["error", "unix"],
18+
"quotes": ["error", "double"],
19+
"semi": ["error", "always"],
20+
"strict": "error",
21+
"no-var": "error",
22+
"no-console": ["warn", { "allow": ["info", "error", "warn"] }],
23+
"array-callback-return": "error",
24+
"yoda": "error",
25+
"@typescript-eslint/no-unused-vars": ["error", { "varsIgnorePattern": "^_", "argsIgnorePattern": "^_" }],
26+
"@typescript-eslint/ban-ts-comment": "off",
27+
"@typescript-eslint/no-non-null-assertion": "off",
28+
"prefer-const": ["error", { "destructuring": "all" }]
29+
}
30+
}

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
node_modules
2+
dist

.prettierrc

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"tabWidth": 4,
3+
"useTabs": false,
4+
"endOfLine": "lf",
5+
"semi": true,
6+
"singleQuote": false,
7+
"arrowParens": "always",
8+
"trailingComma": "all",
9+
"bracketSpacing": true,
10+
"printWidth": 120,
11+
"proseWrap": "always",
12+
"embeddedLanguageFormatting": "auto"
13+
}

eslint.config.js

Lines changed: 0 additions & 45 deletions
This file was deleted.

0 commit comments

Comments
 (0)