Summary: Signed-off-by: Yongmin Hong <revi@omglol.email> npm: use @revi/eslint-config Also change eslint format, and publish `v0.0.2`. Also prepare for eslint-config-wikimedia when they have eslint9 support. Signed-off-by: Yongmin Hong <revi@omglol.email> Test Plan: `npm run eslint`. Reviewers: O1 revi & automations, revi Reviewed By: O1 revi & automations, revi Differential Revision: https://issuetracker.revi.xyz/D332
26 lines
668 B
JavaScript
26 lines
668 B
JavaScript
//@ts-check
|
|
/**
|
|
* @file revi/sandbox eslint config
|
|
* @see https://eslint.org/docs/latest/use/configure/configuration-files
|
|
* @type {import("eslint").Linter.Config}
|
|
* @copyright Hong Yongmin 2024
|
|
* @license Apache-2.0
|
|
*/
|
|
|
|
import reviConfig from '@revi/eslint-config';
|
|
// import wikimedia from 'eslint-config-wikimedia';
|
|
|
|
export default [
|
|
...reviConfig,
|
|
// blocked by eslint9 support:
|
|
// https://github.com/wikimedia/eslint-config-wikimedia/issues/563
|
|
//{
|
|
// files: ['wikiassets/*.js'],
|
|
// plugins: {wikimedia},
|
|
// extends: ['wikimedia/client/es6', 'wikimedia/mediawiki'],
|
|
// languageOptions: {
|
|
// sourceType: 'script',
|
|
// },
|
|
//},
|
|
];
|