eslint-config-coddle
v0.1.0
Published
This package provides a pre-configured ESLint setup for JavaScript projects.
Downloads
4
Readme
Eslint-Config-Coddle
This package provides a pre-configured ESLint setup for JavaScript projects.
Features
- Enforces consistent code style and best practices
- Includes a set of popular ESLint plugins (such as eslint-plugin-react, airbnb)
- Configured to work with the latest JavaScript syntax (ES6+)
Installation
npm i --save-dev [email protected] eslint-config-coddle
# or if you're using yarn
yarn add -D [email protected] eslint-config-coddle
Usage
In your project's eslintrc
file, extend the config:
module.exports = {
extends: ['coddle'],
};
Run ESLint on your code:
npx eslint .
Note
Please ensure that your ESLint version is at least 8.31.0 before using this package. Additionally, if you are using this package in a React Native project, please make sure that you have @react-native-community/eslint-config version 3.2 or higher installed.