diff --git a/.eslintrc.js b/.eslintrc.js index c076ba7979a2b9..742f9ea6d38ef9 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -40,6 +40,11 @@ module.exports = { ], parserOptions: { sourceType: 'module' }, }, + { + files: ['**/*.md'], + parserOptions: { ecmaFeatures: { impliedStrict: true } }, + rules: { strict: 'off' }, + }, ], rules: { // ESLint built-in rules diff --git a/doc/.eslintrc.yaml b/doc/.eslintrc.yaml index 7b38afec10276a..49c4f4f64736c7 100644 --- a/doc/.eslintrc.yaml +++ b/doc/.eslintrc.yaml @@ -5,7 +5,6 @@ rules: no-restricted-properties: off no-undef: off no-unused-vars: off - strict: off symbol-description: off # add new ECMAScript features gradually