Skip to content

Commit

Permalink
Merge pull request #1 from frontendara/add-import-plugin
Browse files Browse the repository at this point in the history
feat: install the dep
  • Loading branch information
chmelevskij authored Feb 11, 2022
2 parents 605aaa4 + 0a3935a commit ea40627
Show file tree
Hide file tree
Showing 3 changed files with 1,742 additions and 6 deletions.
25 changes: 25 additions & 0 deletions packages/eslint/index.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// TODO: think about splitting this up for meteor and non meteor projects
module.exports = {
parserOptions: {
sourceType: "module",
Expand Down Expand Up @@ -51,5 +52,29 @@ module.exports = {
"react/react-in-jsx-scope": "off",
"no-return-await": "error",
"arrow-parens": ["error", "always"],
"import/order": [
"error",
{
groups: [
"builtin",
"internal",
"external",
"parent",
"sibling",
"index",
],
pathGroups: [
{
pattern: "^meteor/**",
group: "internal",
},
],
"newlines-between": "always",
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
},
};
12 changes: 6 additions & 6 deletions packages/eslint/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@
"test": "test"
},
"dependencies": {
"eslint-plugin-meteor": "^7.3.0",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"eslint": "^7.31.0",
"@typescript-eslint/parser": "^4.28.3",
"eslint-plugin-testing-library": "^4.12.0",
"eslint": "^7.31.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-react": "^7.26.1",
"eslint-import-resolver-meteor": "^0.4.0",
"eslint-plugin-import": "^2.23.4",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-react-hooks": "^4.2.0"
"eslint-plugin-meteor": "^7.3.0",
"eslint-plugin-react": "^7.26.1",
"eslint-plugin-react-hooks": "^4.2.0",
"eslint-plugin-testing-library": "^4.12.0"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit ea40627

Please sign in to comment.