-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Style: Lint entire codebase not few directories
* ignore files using .eslintignore
- Loading branch information
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# .eslintignore | ||
|
||
node_modules | ||
|
||
# NOTE: | ||
# The following directives are only relevant when linting the whole | ||
# project directory, ie. running `eslint .` ⚠️ | ||
|
||
# If you compile JavaScript into some output folder, exclude it here | ||
dist | ||
|
||
# Highly recommended to re-include JavaScript dotfiles to lint them | ||
# (This will cause .eslintrc.js to be linted by ESLint 🤘) | ||
!.*.js | ||
|
||
# Some tools use this pattern for their configuration files. Lint them! | ||
!*.config.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters