Skip to content
This repository has been archived by the owner on Jul 16, 2022. It is now read-only.

A shared eslint configuration for Sitecore, JavaScript and Vue.

License

Notifications You must be signed in to change notification settings

NodeSitecore/sitecore-eslint-config

Repository files navigation

Sitecore-eslint-config

Build Status Coverage Status Package Quality npm version Dependencies img img semantic-release

A shared eslint configuration for Sitecore, JavaScript and Vue.

This repository houses the shared ESLint configuration for Sitecore project.

How to Use

This configuration is designed to be used with ESLint. In order to use it in your project, first install the npm module:

npm install --save-dev @node-sitecore/eslint-config

Configuration

That will add the configuration to your package.json. From there, extend the ESLint ruleset by adding this to your .eslintrc file:

"extends": "@node-sitecore"

For vue:

"extends": "@node-sitecore/vue"

For vue-cli:

"extends": "@node-sitecore/vue-cli"

Contributing

Read our contribution documentation.

License

The MIT License (MIT)

Copyright (c) 2018 NodeSitecore

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

You can extend it with your own rules and configuration. See the ESLint docs for more information.

About

A shared eslint configuration for Sitecore, JavaScript and Vue.

Resources

License

Stars

Watchers

Forks

Packages

No packages published