mocha: true
},
parserOptions: {
- ecmaVersion: 2022,
- sourceType: 'module'
+ sourceType: 'module',
+ ecmaVersion: 2022
},
- plugins: ['promise', 'spellcheck'],
+ plugins: ['simple-import-sort', 'promise', 'spellcheck'],
extends: [
'eslint:recommended',
'plugin:import/recommended',
}
},
rules: {
- 'sort-imports': [
- 'error',
- {
- ignoreDeclarationSort: true
- }
- ],
- 'import/order': 'error',
+ 'simple-import-sort/imports': 'error',
+ 'simple-import-sort/exports': 'error',
'spellcheck/spell-checker': [
'warn',
{
skipWords: [
+ 'argv',
'axios',
'benoit',
+ 'bmf',
'browserslist',
'builtins',
'christopher',
'cpus',
'cryptographically',
'ctx',
+ 'decrement',
'deprecations',
'deque',
'dequeue',
'inheritDoc',
'javascript',
'jsdoc',
+ 'linebreak',
'localhost',
'microjob',
'mjs',
'poolifier',
'prepend',
'prepends',
+ 'positionals',
'readdir',
'readonly',
'req',
'threadjs',
'threadwork',
'tinypool',
+ 'tld',
+ 'tos',
'tsconfig',
'tsdoc',
'typedoc',
project: './tsconfig.json'
},
extends: [
- 'plugin:@typescript-eslint/recommended',
- 'plugin:@typescript-eslint/recommended-requiring-type-checking',
+ 'plugin:@typescript-eslint/strict-type-checked',
+ 'plugin:@typescript-eslint/stylistic-type-checked',
'plugin:import/typescript',
- 'standard-with-typescript'
+ 'love'
],
rules: {
- '@typescript-eslint/non-nullable-type-assertion-style': 'off',
+ 'operator-linebreak': 'off',
'tsdoc/syntax': 'warn'
}
},
'@typescript-eslint/no-unnecessary-type-assertion': 'off',
'@typescript-eslint/no-redundant-type-constituents': 'off',
'@typescript-eslint/strict-boolean-expressions': 'off',
- '@typescript-eslint/return-await': 'off'
+ '@typescript-eslint/return-await': 'off',
+ '@typescript-eslint/no-non-null-assertion': 'off'
}
},
{