npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

eslint-config-cozy-app

1.1.12 • Public • Published

Eslint Config Cozy App

What's eslint-config-cozy-app?

Shareable configurations for Cozy Applications and scripts.

This package is an ESLint shareable config already used by create-cozy-app.

To install:

yarn add --dev eslint-config-cozy-app

Usage with a Create Cozy App projects

If you started your project using create-cozy-app, you don't need to do anything, you should already have an .eslintrc.json configured to used this preset.

Usage with other projects

In a file named .eslintrc.json (the ESLint configuration file), you can use the config by extending it. For example (see following available configurations documentation):

{
    "extends": ["cozy-app"]
}

Available configurations

Basics

Basic configuration for common Javascript code, this is the default configuration. To use in your .eslintrc.json:

{
    "extends": ["cozy-app"]
}

Or if you want to use it explicitely:

{
    "extends": ["cozy-app/basics"]
}

React

Configuration for React applications (basics configuration included). To use in your .eslintrc.json:

{
    "extends": ["cozy-app/react"]
}

Vue

Configuration for Vue applications (basics configuration included). To use in your .eslintrc.json:

{
    "extends": ["cozy-app/vue"]
}

Community

What's Cozy?


Cozy is a platform that brings all your web services in the same private space. With it, your webapps and your devices can share data easily, providing you with a new experience. You can install Cozy on your own hardware where no one's tracking you.

Get in touch

You can reach the Cozy Community by:

License

eslint-config-cozy-app is distributed under the MIT license.

Keywords

none

install

npm i eslint-config-cozy-app

Downloadsweekly downloads

271

version

1.1.12

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
Report a vulnerability