1# -*- coding: utf-8 -*-
2#
3# This file is part of citeproc-py-styles.
4# Copyright (C) 2016-2018 CERN.
5#
6# citeproc-py-styles is free software; you can redistribute it and/or modify it
7# under the terms of the MIT License; see LICENSE file for more details.
8
9root = true
10
11[*]
12indent_style = space
13end_of_line = lf
14insert_final_newline = true
15trim_trailing_whitespace = true
16charset = utf-8
17
18# Python files
19[*.py]
20indent_size = 4
21# isort plugin configuration
22known_first_party = citeproc_styles
23multi_line_output = 2
24default_section = THIRDPARTY
25
26# RST files (used by sphinx)
27[*.rst]
28indent_size = 4
29
30# CSS, HTML, JS, JSON, YML
31[*.{css,html,js,json,yml}]
32indent_size = 2
33
34# Matches the exact files either package.json or .travis.yml
35[{package.json,.travis.yml}]
36indent_size = 2
37
38# Dockerfile
39[Dockerfile]
40indent_size = 4
41