eslint-plugin-beautiful-sort
Version:
eslint plugin for imports sort by their type
22 lines • 458 B
JavaScript
;
const sort_imports_rule_1 = require("./rules/sort-imports/sort-imports.rule");
const plugin = {
rules: {
import: sort_imports_rule_1.sortImportsRule,
},
};
const configs = {
recommended: {
plugins: {
'beautiful-sort': plugin,
},
rules: {
'beautiful-sort/import': 'error',
},
},
};
module.exports = {
...plugin,
configs,
};
//# sourceMappingURL=index.js.map