forked from Flutterwave/WordPress-v2
-
Notifications
You must be signed in to change notification settings - Fork 1
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
5 changed files
with
75 additions
and
1 deletion.
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,12 @@ | ||
!.eslintrc.js | ||
build | ||
assets | ||
bin | ||
docs | ||
includes | ||
i18n/languages | ||
release | ||
tasks | ||
templates | ||
vendor | ||
tests |
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 @@ | ||
module.exports = { | ||
extends: [ ], | ||
rules: { | ||
// You can use the 'rules' key to override specific settings in the WooCommerce plugin | ||
'@wordpress/i18n-translator-comments': 'warn', | ||
'@wordpress/valid-sprintf': 'warn', | ||
'jsdoc/check-tag-names': [ | ||
'error', | ||
{ definedTags: [ 'jest-environment' ] }, | ||
], | ||
}, | ||
settings: { | ||
// List of modules that are externals in our webpack config. | ||
// This helps the `import/no-extraneous-dependencies` and | ||
//`import/no-unresolved` rules account for them. | ||
'import/core-modules': [ | ||
'@wordpress/i18n', | ||
'@wordpress/is-shallow-equal', | ||
'@wordpress/element', | ||
], | ||
}, | ||
}; |
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 @@ | ||
# Ignore all hidden files and directories | ||
/.* export-ignore | ||
|
||
|
||
# Ignore following directories and contents | ||
/node_modules* export-ignore | ||
/tests export-ignore | ||
/bin export-ignore | ||
/docs export-ignore | ||
|
||
/composer.lock export-ignore | ||
/composer.json export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/phpunit.xml export-ignore | ||
/phpcs.xml export-ignore | ||
/phpcbf.xml export-ignore | ||
/*.config.js export-ignore | ||
/.eslintrc export-ignore | ||
/.eslintrc.js export-ignore | ||
/.eslintignore export-ignore | ||
/.tx export-ignore | ||
/.editorconfig export-ignore | ||
/.jshintrc export-ignore | ||
/.phpcs.xml export-ignore | ||
/.travis.yml export-ignore | ||
/.editorconfig export-ignore | ||
/.prettierrc.js export-ignore | ||
/.babelrc export-ignore | ||
/webpack.config.js export-ignore | ||
/playwrignt.config.js | ||
docs export-ignore | ||
assets/css/*.scss export-ignore | ||
# Directories | ||
/.wordpress-org export-ignore | ||
/.github export-ignore | ||
|
||
# Files | ||
/.gitattributes export-ignore | ||
/.gitignore export-ignore |
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 @@ | ||
module.exports = require( '@wordpress/prettier-config' ); |
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