Skip to content

Commit

Permalink
chore: tweak linter settings
Browse files Browse the repository at this point in the history
  • Loading branch information
zhenyulin committed Oct 28, 2019
1 parent d997849 commit a93d646
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ plugins:
rules:
valid-jsdoc: 'off'
jsdoc/require-param: 'off'
jsdoc/require-returns: 'off'
import/extensions: [warn, {js: never}]
import/no-extraneous-dependencies: 'off'
import/no-named-as-default: 'off'
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ lint-fix:
@echo 'lint-fixing…'
@eslint_d src --fix

lint-reset:
@eslint_d restart

test:
@jest

Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { FOO, BAR } from 'constants';

/**
* An example function just to show the build and ci pipeline works.
*
* @returns {string} Hello world.
*/
export default () => {
Expand Down
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// @flow

/**
* Join to string with a space.
* Join two strings with a space.
*/
export const join = (a: string, b: string): string => `${a} ${b}`;

Expand Down

0 comments on commit a93d646

Please sign in to comment.