Created
April 13, 2015 09:21
-
-
Save ALF-er/14f838afead2a94c3747 to your computer and use it in GitHub Desktop.
Settings of eslint for AtomLinter
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
{ | |
"parser": "babel-eslint", | |
"env": { | |
"browser": true, | |
"node": true | |
}, | |
"plugins": [ | |
"react" | |
], | |
"ecmaFeatures": { | |
"jsx": true | |
}, | |
"rules": { | |
"quotes": [1, "double", "avoid-escape"], | |
"no-underscore-dangle": [0], | |
"strict": [0], | |
"no-multi-spaces": [0], | |
"key-spacing": [2, { "align": "value" }], | |
"eqeqeq": [2, "smart"], | |
"new-cap": [2, { "capIsNew": false }], | |
"no-shadow": [0], | |
"react/prop-types": 1, | |
"react/react-in-jsx-scope": 1, | |
"react/self-closing-comp": 1 | |
} | |
} |
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": "Trill", | |
"version": "0.0.1", | |
"description": "Trill", | |
"scripts": { | |
"clean": "rimraf ./dist", | |
"prebuild:html": "npm run clean", | |
"build:html": "mkdir dist && cpy ./src/*.php ./dist/ && cpy ./src/.htaccess ./dist/", | |
"build:webpack": "webpack -p --progress --colors", | |
"build": "npm run build:html && npm run build:webpack", | |
"predev": "npm run build:html && hashmark ./src/index.php ./dist/index.html && webpack -d -h --progress --colors", | |
"dev": "webpack-dev-server --hot --content-base ./dist/ --port 4000 --history-api-fallback" | |
}, | |
"dependencies": { | |
"classnames": "^1.2.0", | |
"d3": "^3.5.5", | |
"flux": "^2.0.1", | |
"html5-history-api": "^4.2.0", | |
"immutable": "^3.7.2", | |
"localforage": "^1.2.2", | |
"moment": "^2.10.2", | |
"react": "^0.13.1", | |
"whatwg-fetch": "^0.7.0" | |
}, | |
"devDependencies": { | |
"babel-core": "^5.1.2", | |
"babel-eslint": "^2.0.2", | |
"babel-loader": "^5.0.0", | |
"babel-runtime": "^5.1.2", | |
"cpy": "^3.0.0", | |
"css-loader": "^0.10.1", | |
"eslint": "^0.19.0", | |
"exports-loader": "^0.6.2", | |
"file-loader": "^0.8.1", | |
"hashmark": "^2.0.2", | |
"nib": "^1.0.4", | |
"react-hot-loader": "^1.2.4", | |
"rimraf": "^2.3.2", | |
"style-loader": "^0.10.1", | |
"stylus": "^0.50.0", | |
"stylus-loader": "^1.1.0", | |
"url-loader": "^0.5.5", | |
"webpack": "^1.8.4", | |
"webpack-dev-server": "^1.8.0", | |
"yargs": "^3.7.1" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment