eslint-config-cozy-app v6.7.1
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"]
}
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:
- Chatting with us on IRC #cozycloud on Libera.Chat
- Posting on our Forum
- Posting issues on the Github repos
- Say Hi! on Twitter
License
eslint-config-cozy-app
is distributed under the MIT license.
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
4 years ago
4 years ago
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago