eslint-plugin-sort-export-all
Version:
ESLint rule that helps sort export *
18 lines (15 loc) • 380 B
JavaScript
import { p as plugin, n as name } from './shared/eslint-plugin-sort-export-all.DR6kAeQb.mjs';
import 'natural-compare';
function config(options = {}) {
const ruleSeverity = options.strict ? "error" : "warn";
return {
name,
plugins: {
[name]: plugin
},
rules: {
[`${name}/sort-export-all`]: ruleSeverity
}
};
}
export { config as default };