Skip to content

Commit

Permalink
Add browserlist config
Browse files Browse the repository at this point in the history
  • Loading branch information
mikachan committed Feb 1, 2023
1 parent b8d66b7 commit 09b5c79
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 4 deletions.
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
extends @wordpress/browserslist-config
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
# https://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

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

[*.{gradle,java,kt}]
indent_style = space

[packages/react-native-*/**.xml]
indent_style = space

3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
vendor
node_modules
build
admin/js/lib
admin/js/lib
5 changes: 3 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"devDependencies": {
"@actions/core": "^1.10.0",
"@wordpress/block-library": "^8.2.0",
"@wordpress/browserslist-config": "^5.8.0",
"@wordpress/element": "^5.2.0",
"@wordpress/prettier-config": "^2.8.0",
"@wordpress/scripts": "^25.2.0",
Expand All @@ -42,4 +43,4 @@
"start": "wp-scripts start",
"update-version": "node update-version-and-changelog.js"
}
}
}

0 comments on commit 09b5c79

Please sign in to comment.