Skip to content

Commit c62fa1b

Browse files
committed
chore: update to the latest prettier/eslint rules
We were running pretty ancient rules.
1 parent 8793b96 commit c62fa1b

File tree

286 files changed

+4717
-6637
lines changed

Some content is hidden

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

286 files changed

+4717
-6637
lines changed

.eslintrc.json

+1-22
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
2-
"extends": [
3-
"standard",
4-
"plugin:@typescript-eslint/recommended",
5-
"plugin:react/recommended",
6-
"prettier",
7-
"prettier/standard",
8-
"prettier/@typescript-eslint"
9-
],
2+
"extends": ["standard", "plugin:@typescript-eslint/recommended", "plugin:react/recommended", "prettier"],
103
"parser": "@typescript-eslint/parser",
114
"parserOptions": {
125
"ecmaVersion": 2018,
@@ -17,20 +10,6 @@
1710
"dot-notation": "off",
1811
"no-undef": "off",
1912
"import/first": "off",
20-
"@typescript-eslint/camelcase": [
21-
"error",
22-
{
23-
"allow": [
24-
"wrap_line_length",
25-
"indent_size",
26-
"api_key",
27-
"ignore_certs",
28-
"__cloudshell_decorations",
29-
"follow_max",
30-
"open_timeout"
31-
]
32-
}
33-
],
3413
"@typescript-eslint/no-unused-vars": "error",
3514
"@typescript-eslint/explicit-function-return-type": "off",
3615
"@typescript-eslint/explicit-member-accessibility": "error",

.prettierignore

+15-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
build/
22
clients/**/*/dist/
3-
packages/core/dist/
43
node_modules/
54
*.d.ts
65
*.min.css
@@ -13,3 +12,18 @@ plugins/*/notebooks/**/*.json
1312
# don't pretty-print test markdown, since spacing is important, e.g. for tabs and tips
1413
plugins/*/tests/**/*.md
1514
plugins/*/tests/**/*.json
15+
16+
plugins/**/*/dist
17+
plugins/**/*/mdist
18+
packages/core/dist/
19+
packages/core/mdist/
20+
packages/builder/mdist/
21+
packages/test/dist/
22+
packages/test/mdist/
23+
packages/react/dist/
24+
packages/react/mdist/
25+
26+
# prebuilt modules/binaries
27+
/dist
28+
29+
CHANGELOG.md

.prettierrc.json

+2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
"semi": false,
33
"printWidth": 120,
44
"singleQuote": true,
5+
"arrowParens": "avoid",
6+
"trailingComma": "none",
57
"overrides": [
68
{
79
"files": "*.html",

0 commit comments

Comments
 (0)