eslint-config-qubyte
v6.0.0
Published
My personal linter configs.
Downloads
2,107
Readme
eslint-config-qubyte
Common ESLint [shareable config][1] files for qubyte. Originally based on [eslint-config-vizia][2].
Install into your project:
npm install --save eslint eslint-config-qubyte
Example uses:
ES5 browser project.
Make a eslintrc.config.js
config file with the following in:
import config from 'eslint-config-qubyte';
export default [
config
];
Globals can be imported from the globals package. An example which uses custom language options and globals might look like:
import globals from "globals";
import config from 'eslint-config-qubyte';
export default [
{
files: ["**/*.js"],
languageOptions: {
globals: globals.node,
}
},
config
];