2.0.0 • Published 4 years ago
eslint-config-awzzm v2.0.0
Base Configuration
npm install --save-dev eslint-config-awzzm
# or
yarn add -D eslint-config-awzzmAdd 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!");// ✔️ Good
export const sayHello = () => console.log("hello")
// ❌ Bad
export default () => console.log("hello")