Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 765 Bytes

README.md

File metadata and controls

31 lines (22 loc) · 765 Bytes

This repository is scheduled to be deprecated. After October 31, 2024, the contents of this repo will no longer be available on GitHub. See developers.squarespace.com/tools for more details

eslint-config-squarespace

Provides the eslint configuration for linting Squarespace publicly available projects.

Installation

$ npm install --save-dev eslint-config-squarespace

Then:

add "extends": "eslint-config-squarespace" to your .eslintrc

Example .eslintrc

{
  "extends": "eslint-config-squarespace",
  "env": {
    "browser": true,
    "jest": true,
    "node": true
  }
}

License

Apache-2 copyright Squarespace