-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: rm fmgc/, atsu/ atsu -> in fbw-common/ now fmgc -> in fbw-a32nx/ temporarily * chore: rm old build scripts * chore: rm old build templates * fix: oops that was needed * build: enable a380x lint * chore: rm old rollup configs * style: run lint * chore: fix lint * chore: fix lint * chore: trailing newline * chore: fix lint * lint-fix ATA 21 failures PR --------- Co-authored-by: Florian Gross <[email protected]>
- Loading branch information
1 parent
325db1f
commit c35dbd9
Showing
286 changed files
with
18,823 additions
and
15,973 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
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
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,61 @@ | ||
// Copyright (c) 2021-2023 FlyByWire Simulations | ||
// | ||
// SPDX-License-Identifier: GPL-3.0 | ||
|
||
module.exports = { | ||
root: true, | ||
env: { | ||
browser: true, | ||
es2021: true, | ||
}, | ||
// DO NOT CHANGE THIS FILE (unless you are an admin) (if admin, make sure you change the same file in the latest asobo branch as well) | ||
rules: { | ||
"indent": [ | ||
"error", | ||
4, | ||
{ SwitchCase: 1 }, | ||
], | ||
"linebreak-style": "off", | ||
// No quotes option is really fully consistent, so probably best to jsut not enforce either type | ||
"quotes": "off", | ||
"semi": ["error", "always"], | ||
"curly": ["error", "all"], | ||
"brace-style": ["error", "1tbs"], | ||
"space-before-blocks": "error", | ||
"space-before-function-paren": [ | ||
"error", | ||
{ | ||
anonymous: "always", | ||
named: "never", | ||
asyncArrow: "always", | ||
}, | ||
], | ||
"space-in-parens": "error", | ||
"space-infix-ops": "error", | ||
"space-unary-ops": "error", | ||
"keyword-spacing": "error", | ||
"no-irregular-whitespace": "error", | ||
"no-trailing-spaces": "error", | ||
"semi-spacing": "error", | ||
"no-mixed-spaces-and-tabs": "error", | ||
"no-multi-spaces": "error", | ||
// There are too many vars that cant be autofixed | ||
"no-var": "off", | ||
"prefer-const": [ | ||
"error", | ||
{ destructuring: "all" }, | ||
], | ||
// The vanilla code already has over 100 console.logs, but maybe we can enable this in master and delete them there | ||
"no-console": "off", | ||
"no-debugger": "error", | ||
"eol-last": ["error", "always"], | ||
"no-multiple-empty-lines": [ | ||
"error", | ||
{ | ||
max: 1, | ||
maxBOF: 0, | ||
maxEOF: 0, | ||
}, | ||
], | ||
}, | ||
}; |
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
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
Oops, something went wrong.