@namics/eslint-config
Advanced tools
Weekly downloads
Readme
$ npm install --save-dev eslint eslint-plugin-import @namics/eslint-config
@namics/eslint-config/configurations/typescript-browser
- typescript + browser@namics/eslint-config/configurations/typescript-react
- typescript + react@namics/eslint-config/configurations/typescript-node
- typescript + nodepackage.json
{
"scripts": {
"lint:ts": "eslint . --ext .jsx,.js,.ts,.tsx"
}
}
Enabling ESLint on TS files in VSCode
You need to update the eslint.validate setting to:
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
]
@namics/eslint-config/configurations/es8-browser
- ES8 + browser@namics/eslint-config/configurations/es8-react
- ES8 + react@namics/eslint-config/configurations/es8-node
- ES8 + node@namics/eslint-config/configurations/es7-browser
- ES7 + browser (deprecated)@namics/eslint-config/configurations/es7-react
- ES7 + react (deprecated)@namics/eslint-config/configurations/es7-node
- ES7 + node@namics/eslint-config/configurations/es6-browser
- ES6 + browser (deprecated)@namics/eslint-config/configurations/es6-react
- ES6 + react (deprecated)@namics/eslint-config/configurations/es6-node
- ES6 + node (deprecated)module.exports = {
extends: require.resolve('@namics/eslint-config/configurations/es8-browser.js'),
};
/.idea/
/node_modules/
"scripts": {
"lint": "npm run lint:js",
"lint:js": "eslint ."
},
then run npm run lint
npm publish
(locally) to create npm versionPlease see the Releases
FAQs
Default configurations for eslint
The npm package @namics/eslint-config receives a total of 624 weekly downloads. As such, @namics/eslint-config popularity was classified as not popular.
We found that @namics/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.