eslint / archive-website

The ESLint website
https://eslint.org
MIT License
95 stars 244 forks source link
eslint javascript website

Build Status Netlify Status

ESLint Web Site

This contains the code running on eslint.org.

Pull Requests

Please note that all HTML documentation is split between this repository and the main ESLint repository. Documentation for rules and APIs is located in the core repository, the rest is located in this repository. You can easily determine if original documentation file is native to website repository by checking for <!-- Note: No pull requests accepted for this file. See README.md in the root directory for details. --> comment just below the header of the markdown file. If that header is present, this file is located in the core ESLint repository and any pull requests should be sent there. Otherwise, file is native to this site repository and can be fixed by creating a pull request in this repository.

How to add your company/project logo to the site

Developer Setup

This website is built with Eleventy and is hosted on Netlify.

Local development

To set up a local development environment, install Node.js (be sure to follow the instructions for your platform) and follow the steps below:

# Clone the repository
git clone git@github.com:eslint/website.git eslint-website

# Navigate to the root directory
cd eslint-website

# Install dependencies
npm install

Once you have set up your environment, you can run a copy of the website locally using this command:

npm start

This will watch for changes to the source code and rebuild the website, which will be hosted at http://localhost:8080/.

License

MIT License