diff --git a/.eslintrc.yml b/.eslintrc.yml deleted file mode 100644 index 731eda99..00000000 --- a/.eslintrc.yml +++ /dev/null @@ -1,18 +0,0 @@ -extends: [cheminfo-typescript] -rules: - '@typescript-eslint/prefer-for-of': 'off' - no-shadow: - - error - - builtinGlobals: true - hoist: all - allow: ['ArrayConstructor'] - max-lines-per-function: - - warn - - max: 60 - skipBlankLines: true - skipComments: true -overrides: - - files: '**/__tests__/**' - rules: - max-lines-per-function: - - off diff --git a/eslint.config.mjs b/eslint.config.mjs index 4ded9cdd..791698e7 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -10,8 +10,7 @@ export default [ }, }, rules: { - "jsdoc/require-jsdoc": "off", // this would add automatically an empty bloc of JsDoc - "jsdoc/no-defaults": "off", // this would remove our default values https://github.com/gajus/eslint-plugin-jsdoc/blob/main/docs/rules/no-defaults.md#readme + "jsdoc/lines-before-block": "off", "no-loss-of-precision": "off", '@typescript-eslint/prefer-for-of': 'off', "unicorn/import-style": [