File tree 7 files changed +70
-25
lines changed
assets/src/scripts/modules
7 files changed +70
-25
lines changed Original file line number Diff line number Diff line change
1
+ # This file is for unifying the coding style for different editors and IDEs
2
+ # editorconfig.org
3
+
4
+ # WordPress Coding Standards
5
+ # https://make.wordpress.org/core/handbook/best-practices/coding-standards/
6
+
7
+ root = true
8
+
9
+ [* ]
10
+ charset = utf-8
11
+ end_of_line = lf
12
+ insert_final_newline = true
13
+ trim_trailing_whitespace = true
14
+ indent_style = tab
15
+
16
+ [* .css ]
17
+ indent_style = tab
18
+ indent_size = 4
19
+
20
+ [* .scss ]
21
+ indent_style = tab
22
+ indent_size = 4
23
+
24
+ [* .txt ]
25
+ end_of_line = crlf
Original file line number Diff line number Diff line change
1
+ {
2
+ "extends": [
3
+ "plugin:@wordpress/eslint-plugin/custom",
4
+ "plugin:@wordpress/eslint-plugin/es5",
5
+ "plugin:@wordpress/eslint-plugin/jsdoc"
6
+ ],
7
+ "globals": {
8
+ "document": "readonly",
9
+ "location": "readonly",
10
+ "window": "readonly",
11
+ "navigator": "readonly",
12
+ "wp": "readonly",
13
+ "_": "readonly",
14
+ "NodeList": "readonly",
15
+ "Element": "readonly"
16
+ },
17
+ "rules": {
18
+ "comma-dangle": "off",
19
+ "indent": ["error", "tab"],
20
+ "no-tabs": 0,
21
+ "no-unused-vars": 0,
22
+ "no-undef": 0
23
+ },
24
+ "parserOptions": {
25
+ "ecmaVersion": 2017,
26
+ "sourceType": "module",
27
+ "ecmaFeatures": {
28
+ "jsx": true,
29
+ "modules": true
30
+ }
31
+ },
32
+ "env": {
33
+ "es6": true
34
+ }
35
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
class Carousel {
2
-
3
2
constructor ( ) {
4
3
this . init ( ) ;
5
4
}
6
5
7
6
init ( ) {
8
- $ ( '.fade-carousel' ) . slick ( {
7
+ $ ( '.fade-carousel' ) . slick ( {
9
8
dots : true ,
10
9
arrows : false ,
11
10
autoplay : true ,
12
11
infinite : true ,
13
12
speed : 500 ,
14
13
fade : true ,
15
14
cssEase : 'linear'
16
- } ) ;
15
+ } ) ;
17
16
}
18
17
}
19
18
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " awps" ,
3
- "version" : " 4.0 .0" ,
3
+ "version" : " 4.1 .0" ,
4
4
"description" : " Alecaddd WordPress Starter Theme for savvy developers" ,
5
5
"main" : " index.js" ,
6
+ "prettier" : " @wordpress/prettier-config" ,
6
7
"scripts" : {
7
8
"dev" : " mix" ,
8
9
"development" : " mix" ,
18
19
"@babel/preset-react" : " ^7.0.0" ,
19
20
"@popperjs/core" : " ^2.8.6" ,
20
21
"@tinypixelco/laravel-mix-wp-blocks" : " ^1.1.0" ,
22
+ "@wordpress/prettier-config" : " ^1.0.1" ,
21
23
"autoprefixer" : " ^10.2.4" ,
22
24
"axios" : " ^0.21" ,
23
25
"babel-preset-react" : " ^6.24.1" ,
Original file line number Diff line number Diff line change 1
1
/*
2
2
Theme Name: Alecaddd WordPress Starter theme
3
- Theme URI: http ://alecaddd .com/wp-starter
3
+ Theme URI: https ://github .com/Alecaddd/awps
4
4
Author: Alessandro 'Alecaddd' Castellani
5
- Author URI: http ://alecaddd.com
5
+ Author URI: https ://alecaddd.com
6
6
Description: Alecaddd WordPress Starter Theme for savvy developers
7
- Version: 3 .0.0
7
+ Version: 4 .0.1
8
8
License: GNU General Public License v3 or later
9
9
License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
10
Text Domain: awps
11
- */
11
+ */
Original file line number Diff line number Diff line change 2
2
* AWPS uses Laravel Mix
3
3
*
4
4
* Check the documentation at
5
- * https://laravel.com/docs/5.6/mix
5
+ * https://laravel-mix .com/
6
6
*/
7
7
8
8
let mix = require ( 'laravel-mix' ) ;
You can’t perform that action at this time.
0 commit comments