Skip to content

Commit

Permalink
Merge pull request #3 from no-chris/v0.5.0
Browse files Browse the repository at this point in the history
V0.5.0
  • Loading branch information
no-chris authored Apr 14, 2019
2 parents cf5971a + 69aa0bc commit 96fb955
Show file tree
Hide file tree
Showing 220 changed files with 8,732 additions and 3,503 deletions.
26 changes: 21 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,22 @@ module.exports = {
},
'plugins': [
'import',
'no-unsanitized'
'no-unsanitized',
'react-hooks'
],

'extends': [
'eslint:recommended',
'plugin:react/recommended',
],
'extends': 'eslint:recommended',
'globals': {
'Atomics': 'readonly',
'SharedArrayBuffer': 'readonly'
},
'parserOptions': {
'ecmaVersion': 2018,
'sourceType': 'module'
'sourceType': 'module',
'jsx': true,
},
'rules': {
'complexity': [ 'error', { max: 10 } ],
Expand All @@ -23,8 +29,7 @@ module.exports = {
'max-depth': [ 'error', 4 ],
'max-len': [ 'error', {'code': 150 } ],
'max-lines': [ 'error', { max: 300, skipBlankLines: true, skipComments: true, } ],
'max-lines-per-function': [ 'warn', { max: 50, skipBlankLines: true, skipComments: true, }],
'max-params': [ 'warn', { max: 3 } ],
'max-params': [ 'warn', { max: 4 } ],
'no-shadow': [ 'error', { 'builtinGlobals': true } ],
'quotes': [ 'error', 'single' ],
'semi': [ 'error', 'always' ],
Expand All @@ -44,5 +49,16 @@ module.exports = {
'no-unsanitized/property': [ 'error', { escape: { methods: ['escapeHTML'] } } ],
'no-unsanitized/method': [ 'error' ],

'react/prop-types': [ 'error' ],

'react-hooks/rules-of-hooks': [ 'error' ],
'react-hooks/exhaustive-deps': [ 'warn' ]

},
'settings': {
'react': {
'pragma': 'React',
'version': 'detect'
},
}
};
1 change: 1 addition & 0 deletions .idea/dictionaries/touffi.xml

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

2 changes: 1 addition & 1 deletion .idea/misc.xml

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

4 changes: 4 additions & 0 deletions .idea/watcherTasks.xml

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

9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## v0.5.0 (14/04/2019)

#### New features:

- Moved to React/Redux
- Changed license

---

## v0.4.0 (27/03/2019)

#### New features:
Expand Down
21 changes: 0 additions & 21 deletions LICENSE

This file was deleted.

50 changes: 25 additions & 25 deletions SLOC
Original file line number Diff line number Diff line change
Expand Up @@ -2,53 +2,53 @@ Source code:

---------- Result ------------

Physical : 837
Source : 605
Comment : 49
Single-line comment : 15
Block comment : 34
Mixed : 3
Empty block comment : 4
Empty : 190
Physical : 3535
Source : 2802
Comment : 42
Single-line comment : 10
Block comment : 32
Mixed : 0
Empty block comment : 0
Empty : 691
To Do : 0

Number of files read : 29
Number of files read : 94

----------------------------

Tests:

---------- Result ------------

Physical : 794
Source : 623
Comment : 0
Single-line comment : 0
Block comment : 0
Physical : 3342
Source : 2559
Comment : 33
Single-line comment : 30
Block comment : 3
Mixed : 0
Empty block comment : 0
Empty : 171
Empty : 750
To Do : 0

Number of files read : 10
Number of files read : 40

----------------------------

Total:

---------- Result ------------

Physical : 1631
Source : 1228
Comment : 49
Single-line comment : 15
Block comment : 34
Mixed : 3
Empty block comment : 4
Empty : 361
Physical : 6877
Source : 5361
Comment : 75
Single-line comment : 40
Block comment : 35
Mixed : 0
Empty block comment : 0
Empty : 1441
To Do : 0

Number of files read : 39
Number of files read : 134

----------------------------

2 changes: 0 additions & 2 deletions __mocks__/nanoid.js

This file was deleted.

6 changes: 4 additions & 2 deletions assets/index.hbs → assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>{{ htmlWebpackPlugin.options.title }}</title>
<title><%= htmlWebpackPlugin.options.title %></title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link href="https://fonts.googleapis.com/css?family=Open+Sans:400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>

<div id="app" class="theme-dark"></div>
</body>
</html>
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const presets = [
useBuiltIns: 'usage',
},
],
'@babel/preset-react',
];

module.exports = { presets };
2 changes: 0 additions & 2 deletions docs/css/main.017ce2da97f14cc61616.css

This file was deleted.

Loading

0 comments on commit 96fb955

Please sign in to comment.