Skip to content

Commit

Permalink
feat(boilerplate): enforce kebabCase style for filenames for midway-t…
Browse files Browse the repository at this point in the history
  • Loading branch information
waitingsong committed Jul 10, 2019
1 parent 06eeced commit 816941b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
extends: '@waiting/eslint-config'
plugins:
- unicorn

# https://eslint.org/docs/rules/
# https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin
#rules:

# https://github.com/benmosher/eslint-plugin-import
# https://github.com/sindresorhus/eslint-plugin-unicorn
rules:
unicorn/filename-case: 2

Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"egg-ci": "^1.8.0",
"eslint": "^6.0.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-unicorn": "^9.1.1",
"midway-bin": "1",
"midway-mock": "1",
"tslib": "^1.8.1",
Expand Down

0 comments on commit 816941b

Please sign in to comment.