Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stonecypher/sc-eslint
A small wrapper of eslint, pre-configured to StoneCypher's preferences
https://github.com/stonecypher/sc-eslint
Last synced: 13 days ago
JSON representation
A small wrapper of eslint, pre-configured to StoneCypher's preferences
- Host: GitHub
- URL: https://github.com/stonecypher/sc-eslint
- Owner: StoneCypher
- License: mit
- Created: 2014-10-31T04:13:55.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2020-05-06T22:45:09.000Z (over 4 years ago)
- Last Synced: 2024-12-15T05:33:12.750Z (19 days ago)
- Language: JavaScript
- Size: 23.4 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
sc-eslint
=========A small wrapper of eslint, pre-configured to StoneCypher's preferences
![Language](http://img.shields.io/badge/Language-Javascript/JSX-000000.svg)
![Platform](http://img.shields.io/badge/Platform-Node-000000.svg)
![License](http://img.shields.io/badge/License-MIT-000055.svg)
![Status](http://img.shields.io/travis/StoneCypher/sc-eslint.svg)[![NPM Downloads](http://img.shields.io/npm/dm/sc-eslint.svg)](https://npmjs.org/package/sc-eslint)
![](https://nodei.co/npm/sc-eslint.png?stars=true&downloads=true)
What?
-----This is two things:
1. drop and run `eslint -c node_modules/sc-eslint/sc-eslint-config.json *.js`
1. Trivially simple gulp taskGulp task, you say?
-------------------Trivially simple.
```javascript
var lint = require("sc-eslint");
var tgts = "gulpfile.js estask.js";lint.gulpreg(gulp, { "targets" : tgts });
```And now you have a gulp task named `lint`, which you may use like so:
```javascript
gulp.task('default', ['lint']);
```Why?
----Because this way, as [eslint](http://eslint.org/) gets stronger, as my preferences evolve, etc, all I need to do is to
keep one module up to date, then all dependents will be brought into line.Which is pretty sweet, if you think about it.
But I have different preferences
--------------------------------Great! Don't we all? `:)` Make one for yourself! Here's how:
1. [Fork this repo](https://github.com/StoneCypher/sc-eslint/fork)
1. Copy `sc-eslint-config.json` to your own config file
1. Change the contents - every rule is spelled out in that file
1. Change what `lrules` points to, if using the gulp task
1. Push your own repo and your own NPM module
1. Point back to these instructions, for others' sakePolemic
=======`sc-eslint` is MIT licensed, because viral licenses and newspeak language modification are evil. Free is only free when it's free for everyone.