forked from specklesystems/speckle-server
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Standardized & cleaned up formatting & linting across repo spec…
…klesystems#617 (specklesystems#618) * feat: Standardized & cleaned up formatting & linting across repo Co-authored-by: Kristaps Fabians Geikins <[email protected]> Co-authored-by: Gergő Jedlicska <[email protected]>
- Loading branch information
1 parent
e9cad78
commit 8010bf3
Showing
65 changed files
with
113,551 additions
and
129,746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** @type {import("eslint").Linter.Config} */ | ||
const config = { | ||
root: true, | ||
env: { | ||
es2021: true, | ||
node: true, | ||
commonjs: true | ||
}, | ||
extends: ['eslint:recommended', 'prettier'], | ||
rules: { | ||
camelcase: [ | ||
1, | ||
{ | ||
properties: 'always' | ||
} | ||
], | ||
'no-var': 'error', | ||
'no-alert': 'error', | ||
'no-param-reassign': 'warn', | ||
eqeqeq: 'warn' | ||
}, | ||
ignorePatterns: ['node_modules', 'dist', 'public'] | ||
} | ||
|
||
module.exports = config |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,6 @@ packages/viewer/dist | |
*.crt | ||
.nyc_output | ||
coverage/ | ||
.vscode | ||
.idea | ||
test-queries | ||
|
||
|
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
// See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations. | ||
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp | ||
|
||
// List of extensions which should be recommended for users of this workspace. | ||
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode", "octref.vetur"], | ||
// List of extensions recommended by VS Code that should not be recommended for users of this workspace. | ||
"unwantedRecommendations": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"compilerOptions": { | ||
"target": "es2021", | ||
"module": "commonJS" | ||
}, | ||
"exclude": ["node_modules"] | ||
} |
Oops, something went wrong.