Skip to content

Standards

Ned Zimmerman edited this page Sep 16, 2019 · 1 revision

Pinecone CSS and JavaScript should comply with the 10up CSS and JavaScript engineering guidelines, which are based on the WordPress Coding Standards for CSS and JavaScript. You can validate your CSS and JavaScript against 10up's shareable configurations for ESLint and StyleLint by running these commands from the Pinecone directory:

npm run lint:css
npm run lint:js

In addition, the Pinecone repository will run CSS and Javascript lint scripts against staged files using Husky and lint-staged to catch issues before git commits.

Clone this wiki locally