refactor(eslint-plugin): migrate to TS-ESLint infrastructure (#7276)

* refactor(eslint-plugin): migrate to TS-ESLint infrastructure

* fix lock
This commit is contained in:
Joshua Chen 2022-04-30 17:57:57 +08:00 committed by GitHub
parent f063e9add5
commit afc72480ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
22 changed files with 381 additions and 323 deletions

View file

@ -0,0 +1,25 @@
/**
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import rules from './rules';
export = {
rules,
configs: {
recommended: {
rules: {
'@docusaurus/string-literal-i18n-messages': 'error',
},
},
all: {
rules: {
'@docusaurus/string-literal-i18n-messages': 'error',
'@docusaurus/no-untranslated-text': 'warn',
},
},
},
};