eslint-config-jameslnewell
Advanced tools
Comparing version 0.0.6 to 0.0.7
var fs = require('fs'); | ||
var path = require('path'); | ||
var strip = require('strip-json-comments'); | ||
module.exports = JSON.parse(strip(fs.readFileSync(path.join(__dirname, 'defaults.json')).toString())); | ||
module.exports = JSON.parse(strip(fs.readFileSync(path.join(__dirname, 'defaults.json')).toString())); |
{ | ||
"name": "eslint-config-jameslnewell", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "ESLint config for how I like to format code - readable with whitespace and semicolons.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -11,3 +11,3 @@ # eslint-config-jameslnewell | ||
`.eslintrc` | ||
Create an `.eslintrc` file: | ||
@@ -18,2 +18,6 @@ { | ||
Run `eslint`: | ||
eslint *.js | ||
## Rules | ||
@@ -20,0 +24,0 @@ |
8035
209
39