Skip to content

Commit

Permalink
WIP on ES6ification (v2)
Browse files Browse the repository at this point in the history
  • Loading branch information
sampotts committed Nov 7, 2018
1 parent 318c9be commit f943cef
Show file tree
Hide file tree
Showing 28 changed files with 8,209 additions and 559 deletions.
10 changes: 10 additions & 0 deletions .editorconfig
@@ -0,0 +1,10 @@
# See editorconfig.org
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
30 changes: 30 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,30 @@
{
"parser": "babel-eslint",
"extends": ["airbnb-base", "prettier"],
"env": {
"browser": true,
"es6": true
},
"rules": {
"no-const-assign": 1,
"no-shadow": 0,
"no-this-before-super": 1,
"no-undef": 1,
"no-unreachable": 1,
"no-unused-vars": 1,
"constructor-super": 1,
"valid-typeof": 1,
"indent": [2, 4, { "SwitchCase": 1 }],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"eqeqeq": [2, "always"],
"one-var": [2, "never"],
"comma-dangle": [2, "always-multiline"],
"spaced-comment": [2, "always"],
"no-restricted-globals": 2,
"no-param-reassign": [2, { "props": false }]
},
"parserOptions": {
"sourceType": "module"
}
}
Empty file removed .jshintignore
Empty file.
56 changes: 0 additions & 56 deletions .jshintrc

This file was deleted.

6 changes: 6 additions & 0 deletions .prettierrc
@@ -0,0 +1,6 @@
{
"useTabs": false,
"tabWidth": 4,
"singleQuote": true,
"trailingComma": "all"
}
11 changes: 11 additions & 0 deletions .stylelintrc.json
@@ -0,0 +1,11 @@
{
"extends": ["stylelint-config-recommended", "stylelint-config-prettier"],
"rules": {
"selector-class-pattern": null,
"selector-no-qualifying-type": [true, { "ignore": ["attribute", "class"] }],
"string-no-newline": null,
"indentation": 4,
"string-quotes": "single",
"max-nesting-depth": 2
}
}
11 changes: 11 additions & 0 deletions .vscode/extensions.json
@@ -0,0 +1,11 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
// Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"shinnn.stylelint",
"wayou.vscode-todo-highlight"
]
}
28 changes: 0 additions & 28 deletions bower.json

This file was deleted.

3 changes: 2 additions & 1 deletion dist/rangetouch.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions dist/rangetouch.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f943cef

Please sign in to comment.