![PyPI Now Supports iOS and Android Wheels for Mobile Python Development](https://cdn.sanity.io/images/cgdhsj6q/production/96416c872705517a6a65ad9646ce3e7caef623a0-1024x1024.webp?w=400&fit=max&auto=format)
Security News
PyPI Now Supports iOS and Android Wheels for Mobile Python Development
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
@prezly/eslint-config
Advanced tools
ESLint, Prettier and StyleLint configs used for Prezly TypeScript projects
PHP Code Style checker (and fixer) is built with Easy-Coding-Standard.
(Optional) Add prefixed ECS CLI tool into your composer requirements
(if you're not a fan of resolving conflicts with enormous dependencies
list of simplify/easy-coding-standard
).
composer require --dev symplify/easy-coding-standard-prefixed
Link prezly/code-style repo as composer dependency
composer require prezly/code-style:~4.0
Include the provided configuration into your project.
Simply create an ecs.php file in your project root and include the ecs.php provided by this package into it.
<?php
// Include the stock prezly/code-style config as is.
return require __DIR__ . '/vendor/prezly/code-style/ecs.php';
If you need to extend or override the stock configuration, you can of course do it by adding code on top of it:
<?php
declare(strict_types=1);
use PhpCsFixer\Fixer\Operator\BinaryOperatorSpacesFixer;
use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
return static function (ContainerConfigurator $config): void {
// Include the stock prezly/code-style config.
(require __DIR__ . '/vendor/prezly/code-style/ecs.php')($config);
$services = $config->services();
// Override stock preset configuration.
$services->set(BinaryOperatorSpacesFixer::class)->call('configure', [
[
'operators' => [
'=>' => 'align',
],
],
]);
};
Run checks (you can also configure your CI to run this for you on every push):
vendor/bin/ecs check src/
Fix problems:
vendor/bin/ecs check src/ --fix
FAQs
ESLint, Prettier and StyleLint configs used for Prezly TypeScript projects
The npm package @prezly/eslint-config receives a total of 0 weekly downloads. As such, @prezly/eslint-config popularity was classified as not popular.
We found that @prezly/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.