3.2.0 • Published 3 years ago

@constgen/eslint v3.2.0

Weekly downloads
79
License
GPL-3.0
Repository
github
Last release
3 years ago

@constgen/eslint

This is a preset of ESLint rules that extend and override @atomspace/eslint Neutrino preset

NPM version NPM downloads Build Status

npm install --save-dev neutrino eslint @constgen/eslint

.neutrinorc.js

let eslint = require('@constgen/eslint')

module.exports = {
   use: [
      eslint({
         eslint: {
            env: { node: true }
         }
      })
   ]
}

package.json

{
   "scripts": {
      "eslint": "eslint ./",
      "test"  : "npm run eslint -- --max-warnings 0",
      "lint"  : "npm run eslint -- --fix"
   }
}

.eslintrc.js

let neutrino = require('neutrino')

module.exports = neutrino().eslintrc()

.vscode/settings.json

{
   "editor.insertSpaces"     : false,
   "editor.detectIndentation": false,
   "jshint.enable"           : false,
   "eslint.enable"           : true,
   "editor.formatOnSave"     : false,
   "editor.codeActionsOnSave": {
      "source.fixAll.eslint": true
   },
   "javascript.format.enable"  : true,
   "javascript.validate.enable": false,
   "files.eol"                 : "\n",
   "files.insertFinalNewline"  : false,
   "[markdown]"                : {
      "editor.tabSize"     : 3,
      "editor.insertSpaces": true
   },
   "eslint.options": {
      "extensions"              : [".js", ".jsx", ".html", ".md", ".vue", ".json", ".jsonc", ".json5", ".json6"],
      "resolvePluginsRelativeTo": "./node_modules/.pnpm"
   },
   "eslint.validate"          : ["javascript", "javascriptreact", "html", "markdown", "vue", "json", "jsonc", "json5", "json6"],
   "vetur.validation.template": false
}
3.2.0

3 years ago

3.0.1

3 years ago

3.1.0

3 years ago

3.0.0

3 years ago

2.3.0

4 years ago

2.2.0

4 years ago

2.1.0

4 years ago

2.0.0

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago