From 3a5ca03970579d942306a66cca25ee3433f68c86 Mon Sep 17 00:00:00 2001 From: Marek Lewandowski Date: Thu, 9 Apr 2020 23:42:00 +0200 Subject: [PATCH] Added tools config. --- .editorconfig | 16 ++++++++++++++++ .eslintrc.js | 12 ++++++++++++ .gitattributes | 18 ++++++++++++++++++ .stylelintrc | 3 +++ 4 files changed, 49 insertions(+) create mode 100644 .editorconfig create mode 100644 .eslintrc.js create mode 100644 .gitattributes create mode 100644 .stylelintrc diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..ab5fd231e --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# Configurations to normalize the IDE behavior. +# http://editorconfig.org/ + +root = true + +[*] +indent_style = tab +tab_width = 4 +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +[package.json] +indent_style = space +tab_width = 2 diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 000000000..60f819d77 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,12 @@ +/** + * @license Copyright (c) 2003-2020, CKSource - Frederico Knabben. All rights reserved. + * For licensing, see LICENSE.md or https://ckeditor.com/legal/ckeditor-oss-license + */ + +/* eslint-env node */ + +'use strict'; + +module.exports = { + extends: 'ckeditor5' +}; diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 000000000..9c20d56f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,18 @@ +* text=auto + +*.htaccess eol=lf +*.cgi eol=lf +*.sh eol=lf + +*.css text +*.htm text +*.html text +*.js text +*.json text +*.php text +*.txt text +*.md text + +*.png -text +*.gif -text +*.jpg -text diff --git a/.stylelintrc b/.stylelintrc new file mode 100644 index 000000000..1d86a41f9 --- /dev/null +++ b/.stylelintrc @@ -0,0 +1,3 @@ +{ + "extends": "stylelint-config-ckeditor5" +}