Created
          August 1, 2017 21:35 
        
      - 
      
- 
        Save wreulicke/1240d3f45c994b7e12e86da0df990fd8 to your computer and use it in GitHub Desktop. 
    js-sandbox
  
        
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              Show hidden characters
| { | |
| "presets": [ | |
| [ | |
| "es2015", | |
| { | |
| "modules": false | |
| } | |
| ], | |
| "stage-0" | |
| ] | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "extends": "eslint:recommended", | |
| "parser": "babel-eslint", | |
| "env": { | |
| "browser": true, | |
| "es6": true, | |
| "node": true | |
| }, | |
| "parserOptions": { | |
| "sourceType": "module", | |
| "ecmaFeatures": { | |
| "classes": true, | |
| "jsx": true | |
| } | |
| }, | |
| "plugins": [ | |
| "prettier" | |
| ], | |
| "ecmaFeatures": { | |
| "modules": true, | |
| "classes": true | |
| }, | |
| "rules": { | |
| "prettier/prettier": [ | |
| "error", | |
| { "trailingComma": true, "singleQuote": false , "semi": false} | |
| ], | |
| "quotes": [ | |
| "error", | |
| "double", | |
| { | |
| "avoidEscape": true, | |
| "allowTemplateLiterals": true | |
| } | |
| ], | |
| "semi": [ | |
| "error", | |
| "never" | |
| ], | |
| "no-var": "error", | |
| "prefer-const": "error", | |
| "prefer-spread": "error", | |
| "prefer-template": "error", | |
| "no-console": "off", | |
| "no-undefined": "error", | |
| "dot-notation": "error", | |
| "no-extra-bind": "error", | |
| "no-multi-spaces": "error", | |
| "no-useless-return": "error", | |
| "wrap-iife": "error", | |
| "no-lonely-if": "error" | |
| } | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | { | |
| "name": "tdd-sandbox", | |
| "version": "1.0.0", | |
| "description": "", | |
| "main": "index.js", | |
| "scripts": { | |
| "start": "nyc ava --watch", | |
| "test": "nyc ava" | |
| }, | |
| "dependencies": { | |
| "ava": "^0.21.0", | |
| "babel-core": "^6.22.1", | |
| "babel-eslint": "^7.1.1", | |
| "babel-polyfill": "^6.22.0", | |
| "babel-preset-es2015": "^6.22.0", | |
| "babel-preset-stage-0": "^6.22.0", | |
| "babel-register": "^6.22.0", | |
| "eslint": "^3.14.1", | |
| "eslint-plugin-prettier": "^2.1.2", | |
| "nyc": "^10.1.2", | |
| "prettier": "^1.5.3", | |
| "sinon": "^2.4.1" | |
| }, | |
| "ava": { | |
| "require": [ | |
| "babel-register" | |
| ], | |
| "babel": { | |
| "babelrc": true, | |
| "plugins": [ | |
| "transform-es2015-modules-commonjs" | |
| ] | |
| } | |
| }, | |
| "keywords": [], | |
| "author": "", | |
| "license": "MIT" | |
| } | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import test from "ava" | |
| test("test", t => { | |
| t.is("aaa", "aaa") | |
| }) | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment