eslint-config-awzzm

2.0.0 • Public • Published

⬅️ Back to overview

Base Configuration

npm install --save-dev eslint-config-awzzm
# or
yarn add -D eslint-config-awzzm

Add it to your ESLint configuration:

{
  "extends": ["awzzm"]
}

Most Significant Rules

  • Use double quotes (quotes)
// ✔️ Good
const a = "value"

// ❌ Bad
const b = 'value'
  • Don't use semicolons (semi)
// ✔️ Good
console.log("hi!")

// ❌ Bad
console.log("hi!");
  • Don't use default exports (import/no-default-export)

Why: 1 and 2

// ✔️ Good
export const sayHello = () => console.log("hello")

// ❌ Bad
export default () => console.log("hello")

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-awzzm

Weekly Downloads

0

Version

2.0.0

License

MIT

Unpacked Size

22.4 kB

Total Files

4

Last publish

Collaborators

  • moritzruth