All Projects → christophherr → linter-sniffer-pretty-printer

christophherr / linter-sniffer-pretty-printer

Licence: GPL-2.0 license
Collection of packages and configs to lint and format code in your WordPress project.

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to linter-sniffer-pretty-printer

eslint-config-ns
ESLint config ready to be used in multiple projects. Based on Airbnb's code style with prettier, jest and react support.
Stars: ✭ 27 (-22.86%)
Mutual labels:  stylelint, prettier, stylelint-config, prettier-eslint
eslint-config-adjunct
A reasonable collection of plugins to use alongside your main esLint configuration
Stars: ✭ 39 (+11.43%)
Mutual labels:  prettier, eslint-configs, prettier-eslint
Prettier Stylelint
code > prettier > stylelint > formatted code
Stars: ✭ 162 (+362.86%)
Mutual labels:  stylelint, prettier
spec
🐣 easy to use eslint/stylelint/tslint/prettier/...
Stars: ✭ 60 (+71.43%)
Mutual labels:  stylelint, prettier
wpcs-docs
WordPress Coding Standards Docs
Stars: ✭ 59 (+68.57%)
Mutual labels:  stylelint, phpcs
React Ssr Starter
All have been introduced React environment
Stars: ✭ 20 (-42.86%)
Mutual labels:  stylelint, prettier
Nextjs Ts
Opinionated Next JS project boilerplate with TypeScript and Redux
Stars: ✭ 134 (+282.86%)
Mutual labels:  stylelint, prettier
Stylelint Prettier
Stylelint plugin for Prettier formatting
Stars: ✭ 188 (+437.14%)
Mutual labels:  stylelint, prettier
promotion-web
基于React: v18.x.x/Webpack: v5.x.x/React Router v6.x.x/ Antd: v5..x.x/Fetch Api/ Typescript: v4.x.x 等最新版本进行构建...
Stars: ✭ 374 (+968.57%)
Mutual labels:  stylelint, prettier
website-template
静的Webサイト制作を少しモダンにするためのテンプレート
Stars: ✭ 62 (+77.14%)
Mutual labels:  stylelint, prettier
microservice nodejs template
🦄 Microservice Starter Kit by Nodejs + Typescript + Docker + Lerna + Eslint + Prettier
Stars: ✭ 49 (+40%)
Mutual labels:  prettier, prettier-eslint
React Mobx React Router Boilerplate
A simple boilerplate based on create-react-app and add mobx, react-router, linter, prettier and so on. 一个简单的 react 脚手架依赖于 create-react-app 新增了 mobx react-router,linter,prettier 等。
Stars: ✭ 12 (-65.71%)
Mutual labels:  stylelint, prettier
React 2048 Game
🎮 A fancy 2048 game build with react, redux best practices.
Stars: ✭ 401 (+1045.71%)
Mutual labels:  stylelint, prettier
fe-standard-config-seed
前端通用代码规范自动化接入
Stars: ✭ 18 (-48.57%)
Mutual labels:  stylelint, prettier
Web Configs
Common configurations for building web apps at Shopify
Stars: ✭ 302 (+762.86%)
Mutual labels:  stylelint, prettier
react-component-library-lerna
Build your own React component library managed with lerna, presented with storybook and published in private npm registry.
Stars: ✭ 55 (+57.14%)
Mutual labels:  stylelint, prettier
vue3-vite-ts
Vue 3 Scaffolding (Vite + TS + Linters + Jest + TailwindCSS)
Stars: ✭ 27 (-22.86%)
Mutual labels:  stylelint, prettier
ember-boilerplate
👓 The stable base upon which we build our Ember.js projects at Mirego.
Stars: ✭ 33 (-5.71%)
Mutual labels:  stylelint, prettier
dva-typescript-antd-starter-kit
A admin dashboard application demo based on antd by typescript and dva
Stars: ✭ 61 (+74.29%)
Mutual labels:  stylelint, prettier
ultimate-hot-boilerplate
🚀 node-react universal app boilerplate with everything on hot reload, SSR, GraphQL, Flow included
Stars: ✭ 35 (+0%)
Mutual labels:  stylelint, prettier

Sniffer, Linter, Pretty Printer

A collection of configurations for PHPCS, the ESLint JavaScript linter, the Stylelint CSS linter, Editorconfig and Browserslist for your WordPress projects.

Disclaimer

I use this as base for my themes and plugins.

If you want to contribute to WordPress Core, please make sure to follow the official WordPress Coding Standards. I can't guarantee that using the configurations in this repository ensures 100% adherence to the official WordPress Coding Standards.

As a matter of fact, the following warning was given on the WP Australia Slack group:

My recommendation is to not use it, you won’t be adhering to WordPress’s coding standards if you use that repo.

A whole bunch of things, there are official packages with official coding standards, those are the packages that should be used.

Please use at your own discretion or write your own package.json and configs (maybe without Prettier).

Origin of configs/packages (installed through npm or packagist)

Origin of manually added configs

Why Prettier?

Because it makes life easier. But it might cause deviations from pure WordPress coding standards.

Usage

Sridhar Katakam has written a tutorial on how to setup Visual Studio Code with Prettier and the configs from this repo.

https://sridharkatakam.com/linting-and-formatting-in-visual-studio-code-for-wordpress/

Contributions

Feedback, bug reports, and pull requests are welcome.

Contributors

Thank you to everyone contributing to this project.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].