diff --git a/packages/basic/index.js b/packages/basic/index.js index d20622d..dbd8002 100644 --- a/packages/basic/index.js +++ b/packages/basic/index.js @@ -170,6 +170,17 @@ module.exports = { 'template-curly-spacing': 'error', 'arrow-parens': ['error', 'as-needed', { requireForBlockBody: true }], 'generator-star-spacing': 'off', + 'spaced-comment': ['error', 'always', { + line: { + markers: ['/'], + exceptions: ['/', '#'], + }, + block: { + markers: ['!'], + exceptions: ['*'], + balanced: true, + }, + }], // best-practice 'array-callback-return': 'error', diff --git a/packages/typescript/index.js b/packages/typescript/index.js index 6c79b4d..6fcb14e 100644 --- a/packages/typescript/index.js +++ b/packages/typescript/index.js @@ -36,5 +36,6 @@ module.exports = { '@typescript-eslint/ban-ts-comment': 'off', '@typescript-eslint/explicit-module-boundary-types': 'off', '@typescript-eslint/ban-types': 'off', + '@typescript-eslint/no-namespace': 'off', }, }