diff --git a/.prettierignore b/.prettierignore new file mode 100644 index 0000000..79a2ddf --- /dev/null +++ b/.prettierignore @@ -0,0 +1,8 @@ +# Copyright (C) 2017-present Arctic Ice Studio +# Copyright (C) 2017-present Sven Greb +# +# Project: snowsaw +# Repository: https://github.com/arcticicestudio/snowsaw +# License: MIT + +**/node_modules/* diff --git a/prettier.config.js b/prettier.config.js new file mode 100644 index 0000000..ad35a6f --- /dev/null +++ b/prettier.config.js @@ -0,0 +1,22 @@ +/* + * Copyright (C) 2017-present Arctic Ice Studio + * Copyright (C) 2017-present Sven Greb + * + * Project: snowsaw + * Repository: https://github.com/arcticicestudio/snowsaw + * License: MIT + * References: + * https://prettier.io/docs/en/configuration.html + * https://prettier.io/docs/en/options.html + */ + +/** + * @file The Prettier configuration. + * @author Arctic Ice Studio + * @author Sven Greb + * @see https://prettier.io/docs/en/configuration.html + */ + +module.exports = { + printWidth: 120 +};