Skip to content

Commit

Permalink
add ESLint + npm
Browse files Browse the repository at this point in the history
  • Loading branch information
aslanides committed Jun 28, 2017
1 parent 1724c65 commit d3f39a7
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 0 deletions.
37 changes: 37 additions & 0 deletions .eslintrc.json
@@ -0,0 +1,37 @@
{
"env": {
"browser": true,
"es6": true
},
"extends": "eslint:recommended",
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"error",
"single",
{
"allowTemplateLiterals": true
}
],
"semi": [
"error",
"always"
],
"no-constant-condition": [
"error",
{
"checkLoops": false
}
],
"no-console": "off",
"no-undef": "off",
"no-unused-vars": "off"
}
}
1 change: 1 addition & 0 deletions .gitignore
@@ -1,2 +1,3 @@
.ipynb_checkpoints
.DS_Store
node_modules
27 changes: 27 additions & 0 deletions package.json
@@ -0,0 +1,27 @@
{
"name": "aixijs",
"version": "0.8.0",
"description": "General Reinforcement Learning in the Browser.",
"main": "demo.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/aslanides/aixijs.git"
},
"keywords": [
"AIXI",
"reinforcement",
"learning"
],
"author": "John Aslanides",
"license": "GPL-3.0",
"bugs": {
"url": "https://github.com/aslanides/aixijs/issues"
},
"homepage": "https://github.com/aslanides/aixijs#readme",
"dependencies": {
"eslint": "^4.1.1"
}
}

0 comments on commit d3f39a7

Please sign in to comment.