sindresorhus / Grunt Eslint
Licence: mit
Validate files with ESLint
Stars: ✭ 189
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Grunt Eslint
Sublimelinter Eslint
This linter plugin for SublimeLinter provides an interface to ESLint
Stars: ✭ 839 (+343.92%)
Mutual labels: eslint, linter
Lint Staged
🚫💩 — Run linters on git staged files
Stars: ✭ 9,492 (+4922.22%)
Mutual labels: eslint, linter
Eslint Closure
ESLint Plugin and Config for the Google JavaScript Style Guide
Stars: ✭ 21 (-88.89%)
Mutual labels: eslint, linter
Mevn Cli
Light speed setup for MEVN(Mongo Express Vue Node) Apps
Stars: ✭ 696 (+268.25%)
Mutual labels: eslint, npm-package
Zoe
🌀 Zero-config ESLint toolchain with sensible defaults.
Stars: ✭ 113 (-40.21%)
Mutual labels: eslint, linter
Standard
🌟 JavaScript Style Guide, with linter & automatic code fixer
Stars: ✭ 26,433 (+13885.71%)
Mutual labels: eslint, linter
Express React Boilerplate
🚀🚀🚀 This is a tool that helps programmers create Express & React projects easily base on react-cool-starter.
Stars: ✭ 32 (-83.07%)
Mutual labels: eslint, npm-package
Eslint Config Standard React
ESLint Shareable Config for React/JSX support in JavaScript Standard Style
Stars: ✭ 416 (+120.11%)
Mutual labels: eslint, linter
Npm Package Json Lint
Configurable linter for package.json files
Stars: ✭ 106 (-43.92%)
Mutual labels: linter, npm-package
Eslint Plugin I18n Json
Fully extendable eslint plugin for JSON i18n translation files.
Stars: ✭ 101 (-46.56%)
Mutual labels: eslint, linter
Xo
❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
Stars: ✭ 6,277 (+3221.16%)
Mutual labels: eslint, linter
Poetic
Automatically install and maintain ESLint, Prettier, EditorConfig and Airbnb rules for JavaScript, TypeScript and React.
Stars: ✭ 165 (-12.7%)
Mutual labels: eslint, linter
Eslint Plugin Node
Additional ESLint's rules for Node.js
Stars: ✭ 740 (+291.53%)
Mutual labels: eslint, npm-package
Ale Sensible
Pretty, responsive and smooth defaults for a sane ALE, gets you started in 30 seconds
Stars: ✭ 30 (-84.13%)
Mutual labels: eslint, linter
Eslint
Find and fix problems in your JavaScript code.
Stars: ✭ 19,665 (+10304.76%)
Mutual labels: eslint, linter
Lynt
✨ A zero config JavaScript linter with support for Typescript, Flow, and React.
Stars: ✭ 390 (+106.35%)
Mutual labels: eslint, linter
Eslint Config Standard Jsx
ESLint Shareable Config for JSX support in JavaScript Standard Style
Stars: ✭ 79 (-58.2%)
Mutual labels: eslint, linter
Eslint Watch
ESLint with simple watching capabilities
Stars: ✭ 159 (-15.87%)
Mutual labels: eslint, linter
grunt-eslint
Validate files with ESLint
Install
$ npm install --save-dev grunt-eslint
Usage
require('load-grunt-tasks')(grunt);
grunt.initConfig({
eslint: {
target: ['file.js']
}
});
grunt.registerTask('default', ['eslint']);
Examples
Custom config and rules
grunt.initConfig({
eslint: {
options: {
configFile: 'conf/eslint.json',
rulePaths: ['conf/rules']
},
target: ['file.js']
}
});
Custom formatter
grunt.initConfig({
eslint: {
options: {
format: require('eslint-tap')
},
target: ['file.js']
}
});
Options
See the ESLint options.
In addition the following options are supported:
format
Type: string
Default: 'stylish'
Name of a built-in formatter or path to a custom one.
Some formatters you might find useful: eslint-json, eslint-tap.
outputFile
Type: string
Default: ''
Output the report to a file.
quiet
Type: boolean
Default: false
Report errors only.
maxWarnings
Type: number
Default: -1
(Means no limit)
Number of warnings to trigger non-zero exit code.
failOnError
Type: boolean
Default: true
Fail the build if ESLint found any errors.
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].