This is an automated email from the ASF dual-hosted git repository. randall pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git
commit 3811161e9cd6710e52550d4b3301efb107f16e01 Author: Randall Leeds <[email protected]> AuthorDate: Sat Apr 3 21:44:35 2021 -0700 Remove ESLint environment and globals configuration for TypeScript files The recommended TypeScript configuration for ESLint already disableds the no-undef rule and uses TypeScript library definitions to resolve all global symbols. --- .eslintrc.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/.eslintrc.js b/.eslintrc.js index 3975de8..0acd180 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -98,10 +98,6 @@ module.exports = { }, { files: ['**/*.ts'], - env: { - es2020: true, - 'shared-node-browser': true, - }, extends: [ 'plugin:@typescript-eslint/recommended', 'plugin:@typescript-eslint/recommended-requiring-type-checking', @@ -133,12 +129,6 @@ module.exports = { }, { files: ['packages/*/test/**/*.ts', 'test/**/*.ts'], - env: { - mocha: true, - }, - globals: { - assert: true, - }, rules: { 'import/no-relative-parent-imports': 'off', },
