1. @nice-move/eslint-config-base
A `eslint` config for best practice
@nice-move/eslint-config-base
Package: @nice-move/eslint-config-base
Created by: nice-move
Last modified: Tue, 16 Apr 2024 06:30:57 GMT
Version: 0.11.4
License: MIT
Downloads: 400
Repository: https://github.com/nice-move/nice-move

Install

npm install @nice-move/eslint-config-base
yarn add @nice-move/eslint-config-base

@nice-move/eslint-config-base eslint

A eslint config for best practice.

npm
github
node

Installation

 npm install eslint @nice-move/eslint-config-base --save-dev

Usage

Add to package.json

// example: package.json
{
  "eslintConfig": {
    "extends": "@nice-move/eslint-config-base"
  }
}

Then run

 eslint --fix .

Specification

Environment pattern
browser .js, .html
node.js .mjs, .mts, .cjs, .cts
es modules .mjs, .mts, .js, .html
commonjs .cjs, source code in webpack project
webpack src/**, packages/*/**
ava {test,tests,spec,specs}/**, **/*.{test,spec}.*
when eslint-plugin-ava installed

Tips

Noiseless reporting

Rules can handle by prettier and garou is disabled by default.

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin