eslint-config-wordpress
WordPress JavaScript Coding Standards shareable config for ESLint.
Installation
$ npm install eslint-config-wordpressUsage
Add this to your .eslintrc file:
extends: 'wordpress'This package has been deprecated, please use @wordpress/eslint-plugin or @wordpress/scripts
ESLint shareable config for WordPress
WordPress JavaScript Coding Standards shareable config for ESLint.
$ npm install eslint-config-wordpressAdd this to your .eslintrc file:
extends: 'wordpress'eslint-plugin-wordpress/jssc shared configuration.one-var and no-trailing-spaces rules.eslint-plugin-wordpress/jshint shared configuration.eslint and eslint-config-wordpress now require NodeJS > 4.2.1 LTS or greater