GithubHelp home page GithubHelp logo

sam3k / eslint.org Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eslint/eslint.org

0.0 0.0 0.0 41.64 MB

ESLint website

License: Apache License 2.0

Shell 0.11% JavaScript 41.53% HTML 30.74% SCSS 24.85% Nunjucks 2.77%

eslint.org's Introduction

The New eslint.org

This repository contains the source code for the ESLint website (https://eslint.org).

Developer Setup

In order to run the website, you must have Node.js installed.

  1. Create a fork of the repository
  2. Run npm install
  3. Run npm run install:playground

To start a local copy of the website, run:

npm start

To start a local copy of a foreign language website, specify the ESLINT_SITE_NAME environment variable equal to the name of the site, such as:

ESLINT_SITE_NAME=es npm start

Translations

If you'd like to add a new translation of this website, please open an issue first.

In order to create a new translation:

  1. Copy the src/_data/sites/en.yml file to a new site file in the same directory. The filename should be the language code of the language you want to translate into. For example, if you want to translate into Spanish, you should create the file src/_data/sites/es.yml because "es" in the Spanish language code.
  2. Translate the text in the new site file to your chosen language.
  3. Test it locally to ensure that it works properly using the instructions in the previous section.
  4. Submit your pull request

The ESLint team will create a new domain name, set up analytics and ads, and otherwise prepare the website for deployment.

License

Apache 2.0

eslint.org's People

Contributors

nzakas avatar sarasoueidan avatar amareshsm avatar harish-sethuraman avatar snitin315 avatar kecrily avatar btmills avatar mdjermanovic avatar shanpriyan avatar chenxsan avatar tanujkanti4441 avatar luifermoron avatar deepshikas avatar bpmutter avatar darahak avatar alixfachin avatar captbaritone avatar michaeldeboey avatar aladdin-add avatar stefankolb avatar sayzlim avatar sanjeetsuhag avatar rodzman avatar nschonni avatar haydenbleasel avatar filiptammergard avatar brettz9 avatar bendmyers avatar adrienbaron avatar 38elements avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.