Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save dearfrankg/22d01148d6b27cdc08a672c5948d2d04 to your computer and use it in GitHub Desktop.

Select an option

Save dearfrankg/22d01148d6b27cdc08a672c5948d2d04 to your computer and use it in GitHub Desktop.
///////////////////
linting errors:
//////////////////
/Users/frankg/dev/code/seeds/mobx-starter-2016/app/components/App.js
1:1 error Definition for rule 'no-duplicate-imports' was not found no-duplicate-imports
1:1 error Definition for rule 'no-unsafe-finally' was not found no-unsafe-finally
1:1 error Definition for rule 'no-useless-computed-key' was not found no-useless-computed-key
1:1 error Definition for rule 'no-useless-escape' was not found no-useless-escape
/Users/frankg/dev/code/seeds/mobx-starter-2016/app/components/Blocks.js
1:1 error Definition for rule 'no-duplicate-imports' was not found no-duplicate-imports
1:1 error Definition for rule 'no-unsafe-finally' was not found no-unsafe-finally
1:1 error Definition for rule 'no-useless-computed-key' was not found no-useless-computed-key
1:1 error Definition for rule 'no-useless-escape' was not found no-useless-escape
/Users/frankg/dev/code/seeds/mobx-starter-2016/app/index.js
1:1 error Definition for rule 'no-duplicate-imports' was not found no-duplicate-imports
1:1 error Definition for rule 'no-unsafe-finally' was not found no-unsafe-finally
1:1 error Definition for rule 'no-useless-computed-key' was not found no-useless-computed-key
1:1 error Definition for rule 'no-useless-escape' was not found no-useless-escape
✖ 12 problems (12 errors, 0 warnings)
///////////////////
.eslintrc
//////////////////
{
"extends": "standard",
"parser": "babel-eslint",
"plugins": [
"standard",
"react"
],
"parserOptions": {
"ecmaFeatures": {
"jsx": true,
"modules": true
}
},
"env": {
"browser": true,
"node": true
},
"rules": {
"quotes": [2, "single"],
"strict": [2, "never"],
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/react-in-jsx-scope": 2
}
}
///////////////////
package.json
//////////////////
{
"name": "mobx_starter_2016",
"version": "0.0.0",
"description": "Mobx Starter App 2016",
"main": "index.js",
"scripts": {
"stats": "webpack --profile --json > stats.json",
"build": "webpack",
"start": "webpack-dev-server",
"test": "npm run test-once -- --watch",
"test-once": "clear; mocha --compilers js:babel-core/register --recursive",
"lint": "clear; eslint app"
},
"author": "Frank Gutierrez",
"license": "MIT",
"standard": {
"parser": "babel-eslint",
"globals": []
},
"devDependencies": {
"autoprefixer-loader": "^3.1.0",
"babel-core": "^6.7.2",
"babel-eslint": "^5.0.4",
"babel-loader": "^6.2.4",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-polyfill": "^6.7.2",
"babel-preset-es2015": "^6.6.0",
"babel-preset-react": "^6.5.0",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-0": "^6.5.0",
"babel-register": "^6.7.2",
"clean-webpack-plugin": "^0.1.8",
"css-loader": "^0.23.1",
"eslint-config-standard": "^5.3.1",
"eslint-config-standard-jsx": "^1.2.0",
"eslint-config-standard-react": "^2.4.0",
"eslint-plugin-react": "^5.0.1",
"eslint-plugin-standard": "^1.3.2",
"expect": "^1.12.2",
"extract-text-webpack-plugin": "^1.0.1",
"html-webpack-plugin": "^2.8.1",
"html-webpack-template": "^4.0.0",
"mocha": "^2.4.5",
"node-sass": "^3.3.3",
"npm-install-webpack-plugin": "^2.0.2",
"react-addons-test-utils": "^15.0.1",
"sass-loader": "^3.2.0",
"standard": "^6.0.8",
"style-loader": "^0.13.0",
"webpack": "^1.12.13",
"webpack-dev-server": "^1.14.1",
"webpack-merge": "^0.7.3"
},
"dependencies": {
"mobx": "^2.1.6",
"mobx-react": "^3.1.0",
"react": "^15.0.2",
"react-dom": "^15.0.2"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment