node-ff
Version:
A CLI for creating NodeJs projects
31 lines (30 loc) • 599 B
text/typescript
export const eslintJs = `
module.exports = {
\tenv: {
\t\tbrowser: true,
\t\tes6: true,
\t\tnode: true,
\t},
\textends: [
\t\t'eslint:recommended',
\t\t'plugin:prettier/recommended',
\t],
\tglobals: {
\t\tAtomics: 'readonly',
\t\tSharedArrayBuffer: 'readonly',
\t},
\tparserOptions: {
\t\tecmaVersion: 11,
\t\tsourceType: 'module',
\t},
\tplugins: ['prettier'],
\trules: {
\t\t'prettier/prettier': [
\t\t\t'error',
\t\t\t{
\t\t\t\t'endOfLine': 'auto',
\t\t\t}
\t\t]
\t},
};
`;