forked from deecewan/eslint-plugin-snakecase
-
-
Notifications
You must be signed in to change notification settings - Fork 4
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
Showing
15 changed files
with
1,033 additions
and
877 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 |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"env": | ||
{ | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"extends": "eslint:recommended", | ||
"parserOptions": | ||
{ | ||
"sourceType": "module", | ||
"ecmaVersion": 2017 | ||
}, | ||
"plugins": [ | ||
"snakecasejs" | ||
], | ||
"rules": | ||
{ | ||
"indent": [ | ||
"error", | ||
4 | ||
], | ||
"linebreak-style": [ | ||
"error", | ||
"unix" | ||
], | ||
"quotes": [ | ||
"error", | ||
"double" | ||
], | ||
"semi": [ | ||
"error", | ||
"always" | ||
], | ||
"no-console": [ | ||
"warn" | ||
], | ||
"no-constant-condition": [ | ||
"warn" | ||
], | ||
"snakecasejs/snakecasejs": "error" | ||
} | ||
} |
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,4 @@ | ||
node_modules/**/*.js | ||
log/* | ||
logs/* | ||
*.log |
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 |
---|---|---|
@@ -1,2 +1,119 @@ | ||
.vscode | ||
node_modules | ||
###################################################################################### | ||
# License: MIT - http://opensource.org/licenses/MIT # | ||
# Author: Patryk Rzucidlo (@ptkdev) <support@ptkdev.io> https://ptkdev.it # | ||
# Original: octocat - https://github.com/octocat # | ||
# Latest version: https://github.com/ptkdev/dotfiles # | ||
###################################################################################### | ||
|
||
# Compiled source # | ||
################### | ||
*.com | ||
*.class | ||
*.dll | ||
*.exe | ||
*.o | ||
*.so | ||
|
||
# Packages # | ||
############ | ||
*.7z | ||
*.dmg | ||
*.gz | ||
*.iso | ||
*.jar | ||
*.rar | ||
*.tar | ||
*.zip | ||
|
||
# Eclipse # | ||
########### | ||
.classpath | ||
.project | ||
.settings | ||
.idea | ||
.idea/ | ||
.metadata | ||
*.iml | ||
*.ipr | ||
proguard/ | ||
|
||
# Logs and databases # | ||
###################### | ||
logs/*.log | ||
logs/screenshot/*.png | ||
logs/screenshot/*.jpg | ||
*.log | ||
*.sql | ||
*.sqlite | ||
*.lock | ||
*.vscode | ||
yarn-debug.log | ||
yarn-error.log | ||
|
||
# OS generated files # | ||
###################### | ||
.DS_Store | ||
.DS_Store? | ||
._* | ||
.Spotlight-V100 | ||
.Trashes | ||
ehthumbs.db | ||
Thumbs.db | ||
loginpin.txt | ||
|
||
# Python # | ||
########## | ||
*.pyc | ||
*.pyo | ||
|
||
# KDE/Linux generated files # | ||
############################# | ||
.directory | ||
|
||
# Backup generated files # | ||
########################## | ||
*~ | ||
*.swp | ||
*.bak | ||
*# | ||
|
||
# Android # | ||
########### | ||
*.apk | ||
*.ap_ | ||
*.dex | ||
bin/ | ||
gen/ | ||
.gradle/ | ||
build/ | ||
local.properties | ||
|
||
# Vagrant # | ||
########### | ||
/.vagrant | ||
|
||
# PHP # | ||
####### | ||
./config.php | ||
phpunit.xml | ||
/vendor | ||
composer.phar | ||
|
||
# Runtime data # | ||
################ | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
*.eslintcache | ||
|
||
# NodeJS # | ||
########## | ||
npm-debug.log | ||
/node_modules | ||
/bower_components | ||
package-lock.json | ||
|
||
# NodePress.js # | ||
################ | ||
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"esversion": 6 | ||
} |
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,14 @@ | ||
# Patryk Rzucidlo (@ptkdev) support@ptkdev.io | ||
[](https://ptkdev.it) | ||
|
||
`Lead Developer - May 27, 2018` | ||
* Portfolio: [https://ptkdev.it](https://ptkdev.it/) | ||
* Blog: [https://blog.ptkdev.it](https://blog.ptkdev.it) | ||
* Twitter: [https://twitter.com/ptkdev](https://twitter.com/ptkdev) | ||
* GitHub: [https://github.com/ptkdev](https://github.com/ptkdev) | ||
|
||
# David Buchan-Swanson david.buchanswanson@gmail.com | ||
[](https://github.com/deecewan) | ||
|
||
`Developer - Jan 12, 2017` | ||
* GitHub: [https://github.com/deecewan](https://github.com/deecewan) |
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,5 @@ | ||
# v1.0.0 (May 27, 2018) | ||
|
||
* First Release. | ||
* Compatible with uppercase constant SNAKE_CASE | ||
* Ignore camelCase core function of javascript |
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,22 @@ | ||
#### Setup | ||
1. Add dependencies on `package.json` | ||
``` | ||
"dependencies": { | ||
"eslint": "^4.19.1", | ||
}, | ||
"devDependencies": { | ||
"eslint-plugin-snakecasejs": "^1.0.0", | ||
} | ||
``` | ||
2. Create `.eslintrc.json` file with: | ||
``` | ||
{ | ||
"plugins": [ | ||
"snakecasejs" | ||
], | ||
"rules": | ||
{ | ||
"snakecasejs/snakecasejs": "error" | ||
} | ||
} | ||
``` |
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,39 @@ | ||
### Versions | ||
|
||
Replace the values below with your own: | ||
|
||
- **Plugin Version:** v1.0.0 | ||
- **Node Version:** v8.9 (Plugin require >= 7.6) | ||
- **Operating System:** Ubuntu 14.04 | ||
- **Browser:** Google Chrome 64 | ||
|
||
|
||
### Expected Behavior | ||
|
||
Please describe the program's expected behavior. | ||
|
||
``` | ||
``` | ||
|
||
### Actual Behavior | ||
|
||
Please describe the program's actual behavior. Please include any stack traces | ||
or log output in the back ticks below. | ||
|
||
``` | ||
``` | ||
|
||
### Steps to Reproduce | ||
|
||
Please include the steps the reproduce the issue, numbered below. Include as | ||
much detail as possible. | ||
|
||
1. ... | ||
2. ... | ||
3. ... | ||
|
||
### Screenshots (Optional) | ||
|
||
If the error is graphical in nature it is helpful to provide a screenshot. |
Oops, something went wrong.