Skip to content

Commit

Permalink
~ Copy source from branch developer.
Browse files Browse the repository at this point in the history
  • Loading branch information
tungnxt89 committed Dec 21, 2022
1 parent 215b328 commit 2f887c3
Show file tree
Hide file tree
Showing 1,584 changed files with 175,176 additions and 211,217 deletions.
3 changes: 3 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"presets": ["@wordpress/babel-preset-default"]
}
25 changes: 25 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

# WordPress Coding Standards
# http://make.wordpress.org/core/handbook/coding-standards/

root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
indent_style = tab
indent_size = 4

[{*.yml}]
indent_style = space
indent_size = 2

[*.txt]
end_of_line = crlf

[*.md]
trim_trailing_whitespace = false
6 changes: 6 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
**/*.min.js
**/node_modules/**
**/vendor/**
dist
node_modules
vendor
24 changes: 0 additions & 24 deletions .eslintrc

This file was deleted.

22 changes: 22 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
const eslintConfig = require( '@wordpress/scripts/config/.eslintrc' );

module.exports = {
...eslintConfig,
extends: [ 'plugin:@wordpress/eslint-plugin/recommended-with-formatting' ],
rules: {
indent: [ 'error', 'tab' ],
'space-in-parens': [ 'error', 'always' ],
camelcase: 0,
'no-undef': 0,
eqeqeq: 0,
'no-unused-expressions': [ 'error', { allowShortCircuit: true } ],
'no-unused-vars': 0,
'no-shadow': 0,
'no-console': 0,
'vars-on-top': 0,
'jsdoc/require-param-type': 0,
'array-callback-return': 0,
'import/no-extraneous-dependencies': 0,
'import/no-unresolved': 0,
},
};
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
__*.php
node_modules/
cache/
languages/strings
/assets/fonts/iconfont.ttf
/assets/fonts/iconfont.woff
/assets/fonts/icons.eot
Expand All @@ -15,6 +16,8 @@ cache/
/assets/fonts/icon.woff
/assets/fonts/iconfont.eot
/assets/fonts/iconfont.svg
/assets/js/dist/
/assets/css/
/inc/test.php
/local-debug.php
/languages/learnpress-vi.mo
Expand All @@ -36,4 +39,5 @@ script.sh
/.buildpath
/.settings
/yarn-error.log
/yarn.lock

8 changes: 8 additions & 0 deletions .stylelintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# By default, all `node_modules` are ignored.

build
dist
test
vendor
wordpress
*.js
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,3 @@ branches:
only:
- develop
- master
- lp-dev
227 changes: 119 additions & 108 deletions README.md

Large diffs are not rendered by default.

4 changes: 0 additions & 4 deletions assets/css/admin.bundle.min.css

This file was deleted.

1 change: 0 additions & 1 deletion assets/css/admin/_admin.css

This file was deleted.

Loading

0 comments on commit 2f887c3

Please sign in to comment.