1.4.5 • Published 5 months ago
@culur/config-eslint v1.4.5
@culur/config-eslint
Sharing Eslint configurations.
✨ Features
The library is a shareable Eslint configuration. It has some key features as follows:
- Extends all config from
@antfu/eslint-config. - Override and add some rules according to personal opinion.
- Full customizable (use the same functions as
@antfu/eslint-config).
💿 Installation
Add @culur/config-eslint dependency to your project.
# Using npm
npm install @culur/config-eslint --save-dev
# Using pnpm
pnpm install @culur/config-eslint --dev
# Using yarn
yarn add @culur/config-eslint --devOther packages:
- Use need to install
eslintpackage in devDependencies. - For
inspector, you can install@eslint/config-inspectorin devDependencies.
📖 Usage
In eslint.config.js, use defineConfig:
// .eslint.config.cjs
const defineConfig = require('@culur/config-eslint');
module.exports = defineConfig();// .eslint.config.mjs
import defineConfig from '@culur/config-eslint';
export default defineConfig();📜 Scripts
Some commonly used scripts in package.json.
{
"scripts": {
"fix:es": "eslint --fix",
"lint:es": "eslint",
"lint:es-in": "eslint-config-inspector"
}
}🗃️ Changelog
See CHANGELOG for more information on what has changed recently.
🔒 License
See LICENSE for license rights and limitations (MIT).
1.4.5
5 months ago
1.2.7
7 months ago
1.4.4
5 months ago
1.2.6
7 months ago
1.4.3
6 months ago
1.2.5
9 months ago
1.4.2
6 months ago
1.2.4
11 months ago
1.4.1
6 months ago
1.4.0
6 months ago
1.3.0
6 months ago
1.2.3
1 year ago
1.2.2
1 year ago
1.2.1
1 year ago
1.2.0
1 year ago
1.1.0
1 year ago
1.0.7
1 year ago
0.0.0-dev-20240901024035
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
0.0.0-dev-20240527064403
1 year ago
1.0.0
1 year ago
0.0.2
1 year ago