repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Bump @typescript-eslint/eslint-plugin from 5.38.1 to 5.39.0 (#573)
[poolifier.git]
/
.eslintrc.js
diff --git
a/.eslintrc.js
b/.eslintrc.js
index bd96a47107386e767d85e5ea058b7f6e010dc7c1..93a3c1bdc09c590ba0ff0986dedafab0e8d4e0e8 100644
(file)
--- a/
.eslintrc.js
+++ b/
.eslintrc.js
@@
-7,41
+7,22
@@
module.exports = defineConfig({
node: true,
mocha: true
},
node: true,
mocha: true
},
- parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 2020,
parserOptions: {
ecmaVersion: 2020,
- sourceType: 'module',
- warnOnUnsupportedTypeScriptVersion: false
+ sourceType: 'module'
},
},
- plugins: [
- '@typescript-eslint',
- 'promise',
- 'prettierx',
- 'jsdoc',
- 'spellcheck'
- ],
+ plugins: ['promise', 'prettierx', 'jsdoc', 'spellcheck'],
extends: [
'standard',
'eslint:recommended',
extends: [
'standard',
'eslint:recommended',
- 'plugin:@typescript-eslint/recommended',
- 'plugin:import/errors',
- 'plugin:import/warnings',
- 'plugin:import/typescript',
+ 'plugin:import/recommended',
+ 'plugin:jsdoc/recommended',
'plugin:promise/recommended',
'plugin:promise/recommended',
- 'plugin:prettierx/standardx',
- 'plugin:prettierx/@typescript-eslint'
+ 'plugin:prettierx/standardx'
],
rules: {
'no-void': 'off',
],
rules: {
'no-void': 'off',
- // We have some intentionally empty functions
- '@typescript-eslint/no-empty-function': 'off',
-
- '@typescript-eslint/no-inferrable-types': [
- 'error',
- { ignoreProperties: true }
- ],
-
'sort-imports': [
'warn',
{
'sort-imports': [
'warn',
{
@@
-60,7
+41,6
@@
module.exports = defineConfig({
'enum',
'inheritdoc',
'jsdoc',
'enum',
'inheritdoc',
'jsdoc',
- 'pioardi',
'poolifier',
'readonly',
'serializable',
'poolifier',
'readonly',
'serializable',
@@
-73,17
+53,30
@@
module.exports = defineConfig({
},
overrides: [
{
},
overrides: [
{
- files: ['src/**/*.ts'],
- extends: 'plugin:jsdoc/recommended',
+ files: ['**/*.ts'],
+ parser: '@typescript-eslint/parser',
+ plugins: ['@typescript-eslint'],
+ extends: [
+ 'plugin:@typescript-eslint/recommended',
+ 'plugin:import/typescript'
+ ],
rules: {
rules: {
+ // We have some intentionally empty functions
+ '@typescript-eslint/no-empty-function': 'off',
+
+ '@typescript-eslint/no-inferrable-types': [
+ 'error',
+ { ignoreProperties: true }
+ ],
+
'no-useless-constructor': 'off',
'jsdoc/match-description': [
'warn',
{
'no-useless-constructor': 'off',
'jsdoc/match-description': [
'warn',
{
- mainDescription:
- '/^[A-Z`].+?(\\.|:)(\\n\\n.*((\\n{1,2}- .+)|(_.+_)|`.+`|\\n\\n---))?$/us',
- matchDescription: '^[A-Z`].+(\\.|`.+`)$',
+
//
mainDescription:
+
//
'/^[A-Z`].+?(\\.|:)(\\n\\n.*((\\n{1,2}- .+)|(_.+_)|`.+`|\\n\\n---))?$/us',
+
//
matchDescription: '^[A-Z`].+(\\.|`.+`)$',
contexts: ['any'],
tags: {
param: true,
contexts: ['any'],
tags: {
param: true,
@@
-114,23
+107,33
@@
module.exports = defineConfig({
}
},
{
}
},
{
- files: ['*.js'],
- extends: 'plugin:node/recommended',
+ files: ['**/*.js'],
+ extends: 'plugin:node/recommended'
+ },
+ {
+ files: ['tests/**/*.js'],
rules: {
rules: {
- '@typescript-eslint/no-unused-vars': 'off',
- '@typescript-eslint/no-var-requires': 'off'
+ 'jsdoc/require-jsdoc': 'off'
}
},
{
}
},
{
- files: ['
examples/typescript/**/*.t
s'],
+ files: ['
benchmarks/**/*.j
s'],
rules: {
rules: {
- '
import/no-unresolved
': 'off'
+ '
jsdoc/require-jsdoc
': 'off'
}
},
{
files: ['examples/**/*.js'],
rules: {
}
},
{
files: ['examples/**/*.js'],
rules: {
- 'node/no-missing-require': 'off'
+ 'node/no-missing-require': 'off',
+ 'jsdoc/require-jsdoc': 'off'
+ }
+ },
+ {
+ files: ['examples/typescript/**/*.ts'],
+ rules: {
+ 'import/no-unresolved': 'off',
+ 'jsdoc/require-jsdoc': 'off'
}
}
],
}
}
],