File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "env" :
3+ {
4+ "browser" : true ,
5+ "es6" : true ,
6+ "node" : true
7+ },
8+ "extends" : " eslint:recommended" ,
9+ "parserOptions" :
10+ {
11+ "sourceType" : " module" ,
12+ "ecmaVersion" : 2017
13+ },
14+ "plugins" : [
15+ " snakecasejs"
16+ ],
17+ "rules" :
18+ {
19+ "indent" : [
20+ " error" ,
21+ 4
22+ ],
23+ "linebreak-style" : [
24+ " error" ,
25+ " unix"
26+ ],
27+ "quotes" : [
28+ " error" ,
29+ " double"
30+ ],
31+ "semi" : [
32+ " error" ,
33+ " always"
34+ ],
35+ "no-console" : [
36+ " warn"
37+ ],
38+ "no-constant-condition" : [
39+ " warn"
40+ ],
41+ "snakecasejs/snakecasejs" : " error"
42+ }
43+ }
Original file line number Diff line number Diff line change 1+ node_modules/**/*.js
2+ log/*
3+ logs/*
4+ *.log
Original file line number Diff line number Diff line change 1- .vscode
2- node_modules
1+ # #####################################################################################
2+ # License: MIT - http://opensource.org/licenses/MIT #
3+ # Author: Patryk Rzucidlo (@ptkdev) <support@ptkdev.io> https://ptkdev.it #
4+ # Original: octocat - https://github.com/octocat #
5+ # Latest version: https://github.com/ptkdev/dotfiles #
6+ # #####################################################################################
7+
8+ # Compiled source #
9+ # ##################
10+ * .com
11+ * .class
12+ * .dll
13+ * .exe
14+ * .o
15+ * .so
16+
17+ # Packages #
18+ # ###########
19+ * .7z
20+ * .dmg
21+ * .gz
22+ * .iso
23+ * .jar
24+ * .rar
25+ * .tar
26+ * .zip
27+
28+ # Eclipse #
29+ # ##########
30+ .classpath
31+ .project
32+ .settings
33+ .idea
34+ .idea /
35+ .metadata
36+ * .iml
37+ * .ipr
38+ proguard /
39+
40+ # Logs and databases #
41+ # #####################
42+ logs /* .log
43+ logs /screenshot /* .png
44+ logs /screenshot /* .jpg
45+ * .log
46+ * .sql
47+ * .sqlite
48+ * .lock
49+ * .vscode
50+ yarn-debug.log
51+ yarn-error.log
52+
53+ # OS generated files #
54+ # #####################
55+ .DS_Store
56+ .DS_Store ?
57+ ._ *
58+ .Spotlight-V100
59+ .Trashes
60+ ehthumbs.db
61+ Thumbs.db
62+ loginpin.txt
63+
64+ # Python #
65+ # #########
66+ * .pyc
67+ * .pyo
68+
69+ # KDE/Linux generated files #
70+ # ############################
71+ .directory
72+
73+ # Backup generated files #
74+ # #########################
75+ * ~
76+ * .swp
77+ * .bak
78+ * #
79+
80+ # Android #
81+ # ##########
82+ * .apk
83+ * .ap_
84+ * .dex
85+ bin /
86+ gen /
87+ .gradle /
88+ build /
89+ local.properties
90+
91+ # Vagrant #
92+ # ##########
93+ /.vagrant
94+
95+ # PHP #
96+ # ######
97+ . /config.php
98+ phpunit.xml
99+ /vendor
100+ composer.phar
101+
102+ # Runtime data #
103+ # ###############
104+ pids
105+ * .pid
106+ * .seed
107+ * .pid.lock
108+ * .eslintcache
109+
110+ # NodeJS #
111+ # #########
112+ npm-debug.log
113+ /node_modules
114+ /bower_components
115+ package-lock.json
116+
117+ # NodePress.js #
118+ # ###############
119+ config.js
Original file line number Diff line number Diff line change 1+ {
2+ "esversion" : 6
3+ }
Original file line number Diff line number Diff line change 1+ # Patryk Rzucidlo (@ptkdev ) support@ptkdev.io
2+ [ ![ https://ptkdev.it ] ( https://ptkdev.it/img/ptkdev_patryk_rzucidlo_avatar_150.png )] ( https://ptkdev.it )
3+
4+ ` Lead Developer - May 27, 2018 `
5+ * Portfolio: [ https://ptkdev.it ] ( https://ptkdev.it/ )
6+ * Blog: [ https://blog.ptkdev.it ] ( https://blog.ptkdev.it )
7+ * Twitter: [ https://twitter.com/ptkdev ] ( https://twitter.com/ptkdev )
8+ * GitHub: [ https://github.com/ptkdev ] ( https://github.com/ptkdev )
9+
10+ # David Buchan-Swanson david.buchanswanson@gmail.com
11+ [ ![ https://github.com/deecewan ] ( https://avatars0.githubusercontent.com/u/4755785?s=150&v=4 )] ( https://github.com/deecewan )
12+
13+ ` Developer - Jan 12, 2017 `
14+ * GitHub: [ https://github.com/deecewan ] ( https://github.com/deecewan )
Original file line number Diff line number Diff line change 1+ # v1.0.0 (May 27, 2018)
2+
3+ * First Release.
4+ * Compatible with uppercase constant SNAKE_CASE
5+ * Ignore camelCase core function of javascript
Original file line number Diff line number Diff line change 1+ #### Setup
2+ 1 . Add dependencies on ` package.json `
3+ ```
4+ "dependencies": {
5+ "eslint": "^4.19.1",
6+ },
7+ "devDependencies": {
8+ "eslint-plugin-snakecasejs": "^1.0.0",
9+ }
10+ ```
11+ 2 . Create ` .eslintrc.json ` file with:
12+ ```
13+ {
14+ "plugins": [
15+ "snakecasejs"
16+ ],
17+ "rules":
18+ {
19+ "snakecasejs/snakecasejs": "error"
20+ }
21+ }
22+ ```
Original file line number Diff line number Diff line change 1+ ### Versions
2+
3+ Replace the values below with your own:
4+
5+ - ** Plugin Version:** v1.0.0
6+ - ** Node Version:** v8.9 (Plugin require >= 7.6)
7+ - ** Operating System:** Ubuntu 14.04
8+ - ** Browser:** Google Chrome 64
9+
10+
11+ ### Expected Behavior
12+
13+ Please describe the program's expected behavior.
14+
15+ ```
16+
17+ ```
18+
19+ ### Actual Behavior
20+
21+ Please describe the program's actual behavior. Please include any stack traces
22+ or log output in the back ticks below.
23+
24+ ```
25+
26+ ```
27+
28+ ### Steps to Reproduce
29+
30+ Please include the steps the reproduce the issue, numbered below. Include as
31+ much detail as possible.
32+
33+ 1 . ...
34+ 2 . ...
35+ 3 . ...
36+
37+ ### Screenshots (Optional)
38+
39+ If the error is graphical in nature it is helpful to provide a screenshot.
You can’t perform that action at this time.
0 commit comments