Skip to content
This repository has been archived by the owner on Feb 7, 2020. It is now read-only.

Add ESLint #6

Open
nickcernis opened this issue Feb 26, 2019 · 0 comments
Open

Add ESLint #6

nickcernis opened this issue Feb 26, 2019 · 0 comments

Comments

@nickcernis
Copy link

nickcernis commented Feb 26, 2019

The responsive menus JS doesn't currently adhere to WP standards.

We should add tooling for ESLint and fix the standards issues. This involves:

  1. Adding eslint and eslint-config-wordpress as dependencies.

  2. Adding .eslintrc.js with this content:

module.exports = {
	"extends": "wordpress",
};
  1. Adding npm scripts/gulp tasks to run the linter/autofix.

  2. Testing and committing standards fixes.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant