Skip to content

Commit

Permalink
ci: remove yarn lock (#236)
Browse files Browse the repository at this point in the history
* remove yarn lock

* remove lock requirements

* remove

* unused-imports/no-unused-imports
  • Loading branch information
mikeldking authored Sep 13, 2024
1 parent 1f5b4d4 commit 1a3c502
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 13,746 deletions.
9 changes: 1 addition & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,10 @@ module.exports = {
sourceType: 'module',
impliedStrict: true,
},
plugins: [
'@typescript-eslint',
'react',
'import',
// Not strictly needed but fixes un-used imports via --fix
'unused-imports',
],
plugins: ['@typescript-eslint', 'react', 'import'],
rules: {
'import/order': 'error',
'no-unused-vars': 'off',
'unused-imports/no-unused-imports': 'error',
/**
* ignore if the variable starts with an underscore
*/
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ jobs:

- name: Install deps and build (with cache)
uses: bahmutov/npm-install@v1
with:
useLockFile: false

- name: Lint
run: yarn lint
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
.cache
dist
.vscode
yarn.lock
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@
"eslint": "7.17.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-unused-imports": "^3.2.0",
"polished": "^4.2.2",
"react": "18",
"react-dom": "18",
Expand Down
Loading

0 comments on commit 1a3c502

Please sign in to comment.