File tree Expand file tree Collapse file tree 6 files changed +3044
-4
lines changed Expand file tree Collapse file tree 6 files changed +3044
-4
lines changed Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ root : true ,
3
+ extends : "eslint:recommended" ,
4
+ globals : {
5
+ wp : true ,
6
+ } ,
7
+ env : {
8
+ node : true ,
9
+ es6 : true ,
10
+ amd : true ,
11
+ browser : true ,
12
+ jquery : true ,
13
+ } ,
14
+ parserOptions : {
15
+ ecmaFeatures : {
16
+ globalReturn : true ,
17
+ generators : false ,
18
+ objectLiteralDuplicateProperties : false ,
19
+ } ,
20
+ ecmaVersion : 2017 ,
21
+ sourceType : "module" ,
22
+ } ,
23
+ plugins : [ "import" ] ,
24
+ settings : {
25
+ "import/core-modules" : [ ] ,
26
+ "import/ignore" : [
27
+ "node_modules" ,
28
+ "\\.(coffee|scss|css|less|hbs|svg|json)$" ,
29
+ ] ,
30
+ } ,
31
+ rules : {
32
+ "no-console" : 0 ,
33
+ quotes : [ "error" , "single" ] ,
34
+ "comma-dangle" : [
35
+ "error" ,
36
+ {
37
+ arrays : "always-multiline" ,
38
+ objects : "always-multiline" ,
39
+ imports : "always-multiline" ,
40
+ exports : "always-multiline" ,
41
+ functions : "ignore" ,
42
+ } ,
43
+ ] ,
44
+ } ,
45
+ } ;
Original file line number Diff line number Diff line change 1
1
vendor
2
+ node_modules
Original file line number Diff line number Diff line change
1
+ module . exports = {
2
+ extends : "stylelint-config-standard" ,
3
+ rules : {
4
+ "no-empty-source" : null ,
5
+ "string-quotes" : "double" ,
6
+ "at-rule-no-unknown" : [
7
+ true ,
8
+ {
9
+ ignoreAtRules : [
10
+ "extend" ,
11
+ "at-root" ,
12
+ "debug" ,
13
+ "warn" ,
14
+ "error" ,
15
+ "if" ,
16
+ "else" ,
17
+ "for" ,
18
+ "each" ,
19
+ "while" ,
20
+ "mixin" ,
21
+ "include" ,
22
+ "content" ,
23
+ "return" ,
24
+ "function" ,
25
+ "tailwind" ,
26
+ "apply" ,
27
+ "responsive" ,
28
+ "variants" ,
29
+ "screen" ,
30
+ ] ,
31
+ } ,
32
+ ] ,
33
+ } ,
34
+ } ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " mmirus/gravity-forms-data-attributes" ,
3
- "description" : " Display the content of a field in the title bar of your Advanced Custom Fields flexible content sections ." ,
3
+ "description" : " Add custom data attributes to Gravity Forms fields ." ,
4
4
"type" : " wordpress-plugin" ,
5
5
"license" : " MIT" ,
6
6
"homepage" : " https://github.com/mmirus/gravity-forms-data-attributes" ,
13
13
],
14
14
"keywords" : [
15
15
" wordpress" ,
16
- " advanced custom fields" ,
17
- " acf"
16
+ " gravity forms"
18
17
],
19
18
"support" : {
20
19
"issues" : " https://github.com/mmirus/gravity-forms-data-attributes/issues"
21
20
},
22
21
"require" : {
23
- "php" : " >=5.3 .0" ,
22
+ "php" : " >=7.1 .0" ,
24
23
"composer/installers" : " ^1.6"
25
24
}
26
25
}
Original file line number Diff line number Diff line change
1
+ {
2
+ "name" : " gravity-forms-data-attributes" ,
3
+ "version" : " 1.0.0" ,
4
+ "description" : " Add custom data attributes to Gravity Forms fields." ,
5
+ "private" : true ,
6
+ "repository" : " git@github.com:mmirus/gravity-forms-data-attributes.git" ,
7
+ "author" : " Matt Mirus <matt@mattmirus.com>" ,
8
+ "homepage" : " https://github.com/mmirus/gravity-forms-data-attributes" ,
9
+ "license" : " MIT" ,
10
+ "scripts" : {
11
+ "lint" : " npm run -s lint:scripts && npm run -s lint:styles" ,
12
+ "lint:scripts" : " eslint assets" ,
13
+ "lint:styles" : " stylelint \" assets/*.css\" " ,
14
+ "test" : " npm run -s lint"
15
+ },
16
+ "devDependencies" : {
17
+ "eslint" : " ^5.9.0" ,
18
+ "eslint-plugin-import" : " ^2.14.0" ,
19
+ "stylelint" : " ^9.9.0" ,
20
+ "stylelint-config-standard" : " ^18.2.0"
21
+ }
22
+ }
You can’t perform that action at this time.
0 commit comments