Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

eslint/archive-website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
ESLint Jenkins
Sep 23, 2022
e19d0bd · Sep 23, 2022
Jun 19, 2022
Jun 14, 2022
Sep 23, 2022
Nov 9, 2021
May 13, 2022
May 19, 2022
Jun 17, 2022
Apr 17, 2022
Dec 1, 2021
Jun 17, 2022
Jul 16, 2020
Jun 14, 2022
Jul 12, 2019
Jan 15, 2020
Nov 30, 2019
May 18, 2021
Jan 18, 2020
Dec 16, 2019
Jan 12, 2014
May 21, 2022
Jul 21, 2022
Jun 14, 2022
Mar 5, 2021

Repository files navigation

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

  • Create a fork of this repository.
  • Clone it locally.
  • Create a new branch.
  • Add your logo image to /assets/img/logos/ directory. Logo should be at least 150px of height. Name your logo with your company/project name.
  • Update /_data/logos.yml file and add an entry for your company with the name, url and src (should point to the logo you just added).
  • Commit your changes to your fork and create a pull request into the main repository.

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