-
Notifications
You must be signed in to change notification settings - Fork 99
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update dependency eslint to v9
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Signed-off-by: Rifa Achrinza <[email protected]>
- Loading branch information
1 parent
1db1fd7
commit a1ecaac
Showing
7 changed files
with
308 additions
and
230 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,11 @@ | ||
# SPDX-License-Identifier: FSFAP | ||
# SPDX-FileCopyrightText: Copyright (c) 2024 Rifa Achrinza | ||
root = true | ||
|
||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
max_line_length = 80 |
Empty file.
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 |
---|---|---|
|
@@ -15,4 +15,9 @@ checkstyle.xml | |
loopback-connector-*.tgz | ||
.nyc_output | ||
coverage | ||
.vscode | ||
.vscode | ||
|
||
# Code editors | ||
\#*# | ||
*~ | ||
.#* |
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,23 @@ | ||
// SPDX-FileCopyrightText: Copyright LoopBack contributors 2024. | ||
// SPDX-License-Identifier: MIT | ||
'use strict'; | ||
const FlatCompat = require('@eslint/eslintrc').FlatCompat; | ||
const compat = new FlatCompat({ | ||
baseDirectory: __dirname, | ||
}); | ||
|
||
module.exports = [ | ||
...compat.extends('loopback'), | ||
{ | ||
languageOptions: { | ||
sourceType: 'commonjs', | ||
}, | ||
rules: { | ||
'max-len': ['error', 90, 4, { | ||
ignoreComments: true, | ||
ignoreUrls: true, | ||
ignorePattern: '^\\s*var\\s.+=\\s*(require\\s*\\()|(/)', | ||
}], | ||
}, | ||
}, | ||
]; |
Oops, something went wrong.