Closed neerajsachan closed 7 years ago
I have change the configuration file of the stylelint.js , eslint.js and add the .lintignore file in generators/linter , add the html plugin in generators/linter, .eslintrc file and also add the "leslint-plugin-html"
in the index.js file.
Delete the Gruntfile.js from the generators/linter/templates/ , folder and also change the configuration file tslint.js ./.linterignore instead of ./.lintignore .
change the tslint.js file ./.linterignore instead of ./.lintignore .
@neerajsachan Please do:
devDependencies
to include minimum dependencies we need after converting linters to grunt plugins.copyTpl
to copy gruntfiles.@gaurav21r after installing grunt plugins we need the plugins grunt-eslint
for JavaScript file , grunt-stylelint
and stylelint-config-standard
for the .css file , grunt-htmlhint
for the .html file and the grunt-tslint and tslint-microsoft-contrib
for the typescript file . But eslint plugin,i.e.,eslint-plugin-html
is not included in .html file, although we are still working on it.
@neerajsachan .eslintrc is in use for airbnb
module and this module is not define, So please check again.
@riteshe63 airbnb
module use in .eslintrc but when install the grunt-eslint
, airbnb
module install automatically so we don't need to install airbnb
module specially.
Please check.
@gaurav21r Add task ruuner to linter-generator.
All done
we have split Gruntfile.js into multiple task using grunt plugin.