Skip to content

Commit

Permalink
chore: deps and linting. (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
morganney authored Sep 2, 2023
1 parent b14f458 commit 076ea9e
Show file tree
Hide file tree
Showing 24 changed files with 361 additions and 29 deletions.
28 changes: 24 additions & 4 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,41 @@
},
"extends": [
"eslint:recommended",
"plugin:n/recommended",
"plugin:@typescript-eslint/recommended",
"plugin:import/recommended",
"plugin:import/typescript",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:jsx-a11y/recommended",
"plugin:react-hooks/recommended"
"plugin:react-hooks/recommended",
"plugin:jsx-a11y/recommended"
],
"ignorePatterns": ["dist"],
"plugins": ["react", "react-hooks", "jsx-a11y"],
"plugins": ["@typescript-eslint", "import", "react", "react-hooks", "jsx-a11y"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2024,
"sourceType": "module"
},
"settings": {
"import/resolver": {
"node": true,
"typescript": true
},
"react": {
"version": "detect"
}
},
"rules": {
"no-console": "error"
"no-console": "error",
"n/no-missing-import": "off",
"n/no-unpublished-import": "off",
"import/order": [
"error",
{
"groups": ["builtin", "external", "internal", "index", "sibling", "parent", "type"],
"newlines-between": "always"
}
]
}
}
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ jobs:
with:
name: npm-debug-log-${{ hashFiles('package-lock.json') }}
path: npm-debug.log
- name: Lint
run: npm run lint
- name: Build Components
run: npm run build -w @busmap/components
- name: Build UI
run: npm run build -w ui
- name: Lint
run: npm run lint
Loading

0 comments on commit 076ea9e

Please sign in to comment.