Skip to content

Commit

Permalink
Merge pull request #257 from buckaroo-it/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
vegimcarkaxhija authored Jun 11, 2024
2 parents 8ffa3c0 + 28a66db commit ff09ac3
Show file tree
Hide file tree
Showing 237 changed files with 19,085 additions and 20,008 deletions.
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
node_modules/
vendor/
dist/
build/
*.min.js
*.css
*.html
*.php
29 changes: 29 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"env": {
"browser": true,
"es2021": true,
"jquery": true
},
"extends": [
"airbnb",
"plugin:react/recommended"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 12,
"sourceType": "module"
},
"plugins": [
"react",
"react-hooks"
],
"rules": {
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"max-len": ["error", { "code": 140 }],
"import/no-extraneous-dependencies": ["error", {"devDependencies": true}]
}
}
16 changes: 8 additions & 8 deletions .github/workflows/rename-icons.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<?php
$path = realpath('./');
$path = realpath( './' );

$di = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($path, FilesystemIterator::SKIP_DOTS),
RecursiveIteratorIterator::LEAVES_ONLY
new RecursiveDirectoryIterator( $path, FilesystemIterator::SKIP_DOTS ),
RecursiveIteratorIterator::LEAVES_ONLY
);

foreach ($di as $name => $fio) {
$newname = $fio->getPath() . DIRECTORY_SEPARATOR . strtolower(str_replace(" ","",str_replace("&","-",$fio->getFilename())));
echo $newname, "\r\n";
rename($name, $newname);
}
foreach ( $di as $name => $fio ) {
$newname = $fio->getPath() . DIRECTORY_SEPARATOR . strtolower( str_replace( ' ', '', str_replace( '&', '-', $fio->getFilename() ) ) );
echo $newname, "\r\n";
rename( $name, $newname );
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@
vendor/
.idea/
composer.lock
.eslintrc.json

Loading

0 comments on commit ff09ac3

Please sign in to comment.