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:
06fdaf4
)
Refine eslint configuration
author
Jérôme Benoit
<jerome.benoit@sap.com>
Thu, 20 Oct 2022 21:41:25 +0000
(23:41 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Thu, 20 Oct 2022 21:41:25 +0000
(23:41 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
.eslintrc.js
patch
|
blob
|
blame
|
history
diff --git
a/.eslintrc.js
b/.eslintrc.js
index e76f707d87ce468a1e222c2304c067874c62431f..56d4cb83c01c0793eb23bc44da80c4bd92aff4e1 100644
(file)
--- a/
.eslintrc.js
+++ b/
.eslintrc.js
@@
-1,11
+1,17
@@
+// @ts-check
// eslint-disable-next-line n/no-unpublished-require
const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({
+ root: true,
env: {
es2021: true,
node: true
},
+ parserOptions: {
+ ecmaVersion: 2021,
+ sourceType: 'module'
+ },
plugins: ['promise', 'prettierx', 'jsdoc'],
extends: [
'standard',