-
Notifications
You must be signed in to change notification settings - Fork 36
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
Based on work in loopbackio/loopback-connector#516 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
ce09714
commit 1701d1e
Showing
6 changed files
with
308 additions
and
159 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 |
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 |
---|---|---|
|
@@ -31,3 +31,8 @@ node_modules | |
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# 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,21 @@ | ||
// SPDX-FileCopyrightText: Copyright LoopBack contributors 2024. | ||
// SPDX-License-Identifier: MIT | ||
import {FlatCompat} from '@eslint/eslintrc'; | ||
const compat = new FlatCompat({ | ||
baseDirectory: import.meta.dirname, | ||
}); | ||
|
||
export default [ | ||
...compat.extends('loopback'), | ||
{ | ||
languageOptions: { | ||
ecmaVersion: 'latest', | ||
}, | ||
}, | ||
{ | ||
files: ['**/*.js'], | ||
languageOptions: { | ||
sourceType: 'commonjs', | ||
}, | ||
}, | ||
]; |
Oops, something went wrong.