eslint-plugin-postcss-modules
eslint-plugin-postcss-modules copied to clipboard
Checks that you are using the classes exported by your css modules using postcss.
**VSCode output of eslint plugin:** ``` Error: Failed to load plugin 'postcss-modules' declared in '.eslintrc.js': Could not locate the bindings file. Tried: → /node_modules/deasync/build/deasync.node → /node_modules/deasync/build/Debug/deasync.node → /node_modules/deasync/build/Release/deasync.node → /node_modules/deasync/out/Debug/deasync.node...
.eslintrc.js ``` module.exports = { parser: '@babel/eslint-parser', plugins: ['postcss-modules'], settings: { 'postcss-modules': { // 用于确定应该为 css-module 导出解析哪些文件。任何匹配 include 但不匹配 exclude 的文件都将被解析 include: '**/*.less', // 用于确定不应为 css-module 导出解析哪些文件。任何匹配 include 但不匹配 exclude...
I'm using Vue 3 with composition API and it works correctly in , but it's no errors in tag. ```js import styles from 'view/pages/booking/passengers/contact-form/contact-form.css'; // It has error, no classes...
Bumps [json5](https://github.com/json5/json5) from 2.1.3 to 2.2.3. Release notes Sourced from json5's releases. v2.2.3 Fix: [email protected] is now the 'latest' release according to npm instead of v1.0.2. (#299) v2.2.2 Fix: Properties...
Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2. Release notes Sourced from decode-uri-component's releases. v0.2.2 Prevent overwriting previously decoded tokens 980e0bf https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.1...v0.2.2 v0.2.1 Switch to GitHub workflows 76abc93 Fix issue where decode...
Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.3.0 to 16.7.0. Release notes Sourced from jsdom's releases. Version 16.7.0 Added AbortSignal.abort(). (ninevra) Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)...
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
The `deasync` module is not compatible with Electron (https://github.com/abbr/deasync/issues/81), making it impossible to use this plugin with VSCode's ESLint plugin since it errors on load. But this module is only...