Skip to content

Commit dca8763

Browse files
committed
update formatting config
1 parent 795d2a1 commit dca8763

23 files changed

+4915
-5261
lines changed

.eslintrc.json

+17-23
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,19 @@
11
{
2-
"root": true,
3-
"parser": "@typescript-eslint/parser",
4-
"parserOptions": {
5-
"ecmaVersion": 6,
6-
"sourceType": "module"
7-
},
8-
"plugins": [
9-
"@typescript-eslint"
10-
],
11-
"rules": {
12-
"@typescript-eslint/naming-convention": "warn",
13-
"@typescript-eslint/semi": "warn",
14-
"curly": "warn",
15-
"eqeqeq": "warn",
16-
"no-throw-literal": "warn",
17-
"semi": "off"
18-
},
19-
"ignorePatterns": [
20-
"out",
21-
"dist",
22-
"**/*.d.ts",
23-
"src/bsvjs/syntaxes"
24-
]
2+
"root": true,
3+
"parser": "@typescript-eslint/parser",
4+
"parserOptions": {
5+
"ecmaVersion": 6,
6+
"sourceType": "module"
7+
},
8+
"plugins": ["@typescript-eslint"],
9+
"rules": {
10+
"@typescript-eslint/naming-convention": "warn",
11+
"@typescript-eslint/semi": "warn",
12+
"curly": "warn",
13+
"eqeqeq": "warn",
14+
"no-throw-literal": "warn",
15+
"semi": "off"
16+
},
17+
"ignorePatterns": ["out", "dist", "**/*.d.ts", "src/bsvjs/syntaxes"],
18+
"extends": ["eslint:recommended", "prettier"]
2519
}

.prettierrc.js

+4-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
module.exports = {
2-
trailingComma: "es5",
3-
tabWidth: 4,
4-
semi: true,
5-
singleQuote: true,
6-
};
2+
trailingComma: 'es5',
3+
singleQuote: true,
4+
printWidth: 100,
5+
};

.vscode/settings.json

+11-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// Place your settings in this file to overwrite default and user settings.
22
{
3-
"files.exclude": {
4-
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5-
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
6-
},
7-
"search.exclude": {
8-
"out": true, // set this to false to include "out" folder in search results
9-
"dist": true // set this to false to include "dist" folder in search results
10-
},
11-
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
12-
"typescript.tsc.autoDetect": "off"
13-
}
3+
"files.exclude": {
4+
"out": false, // set this to true to hide the "out" folder with the compiled JS files
5+
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
6+
},
7+
"search.exclude": {
8+
"out": true, // set this to false to include "out" folder in search results
9+
"dist": true // set this to false to include "dist" folder in search results
10+
},
11+
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
12+
"typescript.tsc.autoDetect": "off"
13+
}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -451,4 +451,4 @@
451451
"publisherDisplayName": "mshr-h",
452452
"publisherId": "fcf32c99-a624-437b-9f47-9333ea128623"
453453
}
454-
}
454+
}

renovate.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
"groupName": "Patch updates",
2323
"stabilityDays": 7,
2424
"prCreation": "not-pending"
25-
}
26-
}
25+
}
26+
}

0 commit comments

Comments
 (0)