Skip to content

Commit

Permalink
chore: update deps and fix types (#35)
Browse files Browse the repository at this point in the history
  • Loading branch information
ricardogobbosouza authored Nov 4, 2020
1 parent 47612f1 commit 02a97bf
Show file tree
Hide file tree
Showing 8 changed files with 19,226 additions and 4,178 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ jobs:
- name: Lint
run: npm run lint

#- name: Security audit
# run: npm run security
- name: Security audit
run: npm run security

- name: Check commit message
uses: wagoid/commitlint-github-action@v1
Expand Down
4 changes: 2 additions & 2 deletions declarations/linter.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/** @typedef {import('eslint').ESLint.Formatter} Formatter */
/** @typedef {import('eslint').ESLint.LintResult} LintResult */
/** @typedef {import('webpack').Compiler} Compiler */
/** @typedef {import('webpack').compilation.Compilation} Compilation */
/** @typedef {import('webpack').Compilation} Compilation */
/** @typedef {import('webpack-sources').Source} Source */
/** @typedef {import('./options').Options} Options */
/** @typedef {import('./options').FormatterFunction} FormatterFunction */
Expand All @@ -24,7 +24,7 @@ export type ESLint = import('eslint').ESLint;
export type Formatter = import('eslint').ESLint.Formatter;
export type LintResult = import('eslint').ESLint.LintResult;
export type Compiler = import('webpack').Compiler;
export type Compilation = import('webpack').compilation.Compilation;
export type Compilation = import('webpack').Compilation;
export type Source = import('webpack-sources/lib/Source');
export type Options = {
context?: string | undefined;
Expand Down
4 changes: 2 additions & 2 deletions lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
'*.js': ['prettier --write', 'eslint --fix', 'git add'],
'*.{json,md,yml,css,ts}': ['prettier --write', 'git add'],
'*.js': ['eslint --fix', 'prettier --write'],
'*.{json,md,yml,css,ts}': ['prettier --write'],
};
Loading

0 comments on commit 02a97bf

Please sign in to comment.