repositories
/
benchmarks-js.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ebf80fe
)
refactor: reorder eslint flat configuration
author
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Thu, 30 May 2024 15:10:58 +0000
(17:10 +0200)
committer
Jérôme Benoit
<jerome.benoit@piment-noir.org>
Thu, 30 May 2024 15:10:58 +0000
(17:10 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
eslint.config.js
patch
|
blob
|
blame
|
history
diff --git
a/eslint.config.js
b/eslint.config.js
index 642bf9dbf505a32cdae26c2472928cbcb9e8129d..89a020690f0d9c46096df00c98849dafc59f914f 100644
(file)
--- a/
eslint.config.js
+++ b/
eslint.config.js
@@
-8,14
+8,8
@@
import globals from 'globals'
import neostandard from 'neostandard'
export default defineFlatConfig([
- ...neostandard({
- globals: {
- ...globals.node,
- },
- }),
js.configs.recommended,
nodePlugin.configs['flat/recommended'],
- jsdoc.configs['flat/recommended'],
{
plugins: {
'simple-import-sort': simpleImportSort,
@@
-25,4
+19,10
@@
export default defineFlatConfig([
'simple-import-sort/exports': 'error',
},
},
+ jsdoc.configs['flat/recommended'],
+ ...neostandard({
+ globals: {
+ ...globals.node,
+ },
+ }),
])