This repository has been archived by the owner on May 2, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 143
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
scriptPilot
authored and
scriptPilot
committed
Oct 27, 2017
1 parent
2f6f37e
commit eab7b21
Showing
13 changed files
with
513 additions
and
178 deletions.
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 |
---|---|---|
|
@@ -30,3 +30,6 @@ database-backup.json | |
# Exclude FTP config file | ||
ftp-config.json | ||
|
||
# Exclude ESLint configuration file | ||
.eslintrc | ||
|
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
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
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
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
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
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
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
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,32 @@ | ||
# ESLint code checks | ||
|
||
> This page is part of the [App Framework Documentation](../DOCUMENTATION.md) | ||
<br /> | ||
|
||
The code is checked with ESLint. You can apply your own configuration easily in the *app/config.json* file. The *.eslintrc* file will be updated before each test according your configuration. | ||
|
||
The new default configuration: | ||
|
||
``` | ||
"eslint": { | ||
"extends": "airbnb", | ||
"rules": { | ||
"semi": [ | ||
"error", | ||
"never" | ||
] | ||
} | ||
} | ||
``` | ||
|
||
The old default configuration: | ||
|
||
``` | ||
"eslint": { | ||
"extends": "standard", | ||
"rules": {} | ||
} | ||
``` | ||
|
||
Currently, `airbnb` and `standard` are available to extend - if you which to extend another shared configuration, please ask for it in our [issue list](https://github.com/scriptPilot/app-framework/issues). |
Oops, something went wrong.