UNPKG

eslint-config-techchange

Version:

TechChange's default ESLint configurations for ES2015 and React.

30 lines (29 loc) 486 B
module.exports = { "rules": { "import/order": [ "error", { "newlines-between": "always", "alphabetize" : { "order": "asc" }, "groups": [ ["builtin", "external"], "parent", ["sibling", "index"], "object", "type" ], "pathGroups": [ { "pattern": "react", "group": "external", "position": "before" }, ], "pathGroupsExcludedImportTypes": ["react"], "distinctGroup": false, } ] } };