0be313316f
- Switch to the Hugo Pipes (bye bye Webpack) - Use Inter from Google Fonts - Update README
54 lines
806 B
YAML
54 lines
806 B
YAML
---
|
|
|
|
env:
|
|
es6: true
|
|
|
|
extends:
|
|
# https://github.com/airbnb/javascript
|
|
- airbnb
|
|
- eslint:recommended
|
|
- prettier
|
|
|
|
parser: babel-eslint
|
|
|
|
rules:
|
|
# best practices
|
|
arrow-parens:
|
|
- 2
|
|
- as-needed
|
|
semi:
|
|
- 2
|
|
- never
|
|
class-methods-use-this: 0
|
|
comma-dangle:
|
|
- 2
|
|
- always-multiline
|
|
no-console:
|
|
- 2
|
|
no-unused-expressions: 0
|
|
no-param-reassign:
|
|
- 2
|
|
- props: false
|
|
no-useless-escape: 0
|
|
func-names: 0
|
|
quotes:
|
|
- 2
|
|
- single
|
|
- allowTemplateLiterals: true
|
|
no-underscore-dangle: 0
|
|
object-curly-newline: 0
|
|
function-paren-newline: 0
|
|
operator-linebreak:
|
|
- 2
|
|
- after
|
|
no-unused-vars:
|
|
- 2
|
|
- argsIgnorePattern: "^_"
|
|
|
|
globals:
|
|
document: true
|
|
requestAnimationFrame: true
|
|
window: true
|
|
self: true
|
|
fetch: true
|
|
Headers: true
|